In your services.conf, you have a block looking like that:
/*
* IRC2SQL Gateway
* This module collects data about users, channels and servers. It doesn't build stats
* itself, however, it gives you the database, it's up to you how you use it.
*
* Requires a MySQL Database and MySQL version 5.5 or higher
*/
#include
{
type = "file"
name = "irc2sql.example.conf"
}
Remove the # before "include" and replace "irc2sql.example.conf" with "irc2sql.conf".
Then, copy your irc2sql.example.conf to irc2sql.conf and adapt it.
Remember that m_mysql.cpp and stats have to be enabled. If they are not, go to your sources directory and do a ./extras.