Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: general documentation  (Read 4860 times)

0 Members and 1 Guest are viewing this topic.

lee blake

  • Anope User
  • Offline Offline
  • Posts: 1
general documentation
« on: September 04, 2016, 05:32:25 PM »

Hi There


Is there any docs that explain exactly how to connect mysql to anope some step by step instructions.


Thank you
Logged

CrazyCat

  • Anope User
  • Online Online
  • Posts: 259
    • Réseau IRC francophone
Re: general documentation
« Reply #1 on: October 17, 2016, 01:12:18 PM »

When compiling Anope, after having done ./Config, run ./extras and activate m_mysql.cpp.
You can now cd build && make && make install

Then, go to the installation directory (cd ../../services) and edit irc2sql.conf to fill the good values (you must have create the database and user in mysql).

Then, edit services.conf and remove the leading # in:
Code: [Select]
/*
 * IRC2SQL Gateway
 */
#include
{
type = "file"
name = "irc2sql.conf"
}

You can now run your services, they can use MySQL.

Phil Taylor

  • Anope User
  • Offline Offline
  • Posts: 5
Re: general documentation
« Reply #2 on: May 13, 2019, 12:50:23 AM »

The database name is in that file but no username and password In my config its not reading the database username and password in the module.example.conf.
Logged

CrazyCat

  • Anope User
  • Online Online
  • Posts: 259
    • Réseau IRC francophone
Re: general documentation
« Reply #3 on: May 14, 2019, 07:42:49 AM »

4 posts for the same trouble... read https://forum.anope.org/index.php?topic=4479.msg23068#msg23068 and rename your .example.conf files to .conf
Pages: [1]   Go Up