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
-
Hi There
Is there any docs that explain exactly how to connect mysql to anope some step by step instructions.
Thank you
-
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:
/*
* IRC2SQL Gateway
*/
#include
{
type = "file"
name = "irc2sql.conf"
}
You can now run your services, they can use MySQL.
-
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.
-
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