Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: ( solved ) Need help for MYSQL  (Read 4896 times)

0 Members and 1 Guest are viewing this topic.

Manfred

  • Anope User
  • Offline Offline
  • Posts: 2
( solved ) Need help for MYSQL
« on: November 16, 2010, 10:45:48 PM »

i have compiled anope with mysql support. the db_mysql_write , db_mysql_read ..... are createt during the installation

what are the right settings in services.conf that i can use mysql db ?

the section for connection to the sql server are done
« Last Edit: November 17, 2010, 09:21:03 PM by Manfred »
Logged

therock247uk

  • Anope User
  • Offline Offline
  • Posts: 51
    • http://www.247fixes.com/
Re: Need help for MYSQL
« Reply #1 on: November 17, 2010, 06:32:47 PM »

My example...

module { name = "m_mysql" }
mysql
{
   database = "anope"
   server = "127.0.0.1"
   username = "anope"
    password = "anope"
    port = "3306"
}

change the db name/user/pass etc to your settings.
Logged

Manfred

  • Anope User
  • Offline Offline
  • Posts: 2
Re: Need help for MYSQL
« Reply #2 on: November 17, 2010, 08:01:18 PM »

My example...

module { name = "m_mysql" }
mysql

change the db name/user/pass etc to your settings.

the module name is for mysql or should i use db_mysql_read or write or execute ?
Logged
Pages: [1]   Go Up