Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Anope incompatible with mariadb ?  (Read 4336 times)

0 Members and 1 Guest are viewing this topic.

CrazyCat

  • Anope User
  • Offline Offline
  • Posts: 259
    • Réseau IRC francophone
Anope incompatible with mariadb ?
« 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 :)
Pages: [1]   Go Up