Anope IRC Services

Anope Support => 2.0.x/1.9.x Support => Topic started by: CrazyCat on August 06, 2021, 09:37:20 AM

Title: Anope incompatible with mariadb ?
Post by: CrazyCat on August 06, 2021, 09:37:20 AM
Hi there,

After a big crash of my main server, I'm trying to install anope on another one (debian buster).
MariaDB is installed, so I've edited modules/extra/m_mysql.cpp:
Code: [Select]
/* RequiredLibraries: mariadbclient */
/* RequiredWindowsLibraries: libmysql */

#include "module.h"
#include "modules/sql.h"
#define NO_CLIENT_LONG_LONG
#ifdef WIN32
# include <mysql.h>
#else
# include <mariadb/mysql.h>
#endif

This seems to work :)