Anope IRC Services

Anope Support => 2.0.x/1.9.x Support => Topic started by: lee blake on September 04, 2016, 05:32:25 PM

Title: general documentation
Post by: lee blake 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
Title: Re: general documentation
Post by: CrazyCat 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.
Title: Re: general documentation
Post by: Phil Taylor 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.
Title: Re: general documentation
Post by: CrazyCat 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