Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Connecting Anope to MySQL?  (Read 3427 times)

0 Members and 1 Guest are viewing this topic.

webcoder

  • Anope User
  • Offline Offline
  • Posts: 4
    • www.xalarisirc.net
Connecting Anope to MySQL?
« on: February 28, 2008, 09:26:48 PM »

Okay I have anope 1.7 setup, in the services.conf file I added the info in for my database, I did however notice during Config, it says "MySQL: No" How do I go about connecting anope to my database? My purpose for this is so a user can see what channels are currently registerd using a database query from my website.

thanks
webcoder

[Edited on 28-2-2008 by webcoder]
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #1 on: February 28, 2008, 09:46:07 PM »

you will need to compile anope with MySQL support... which means it has to say yes after ./Config.
Your server needs the Mysql libraries installed (libmysqlclient)... you should contact your host for more details regarding that.
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

webcoder

  • Anope User
  • Offline Offline
  • Posts: 4
    • www.xalarisirc.net
(No subject)
« Reply #2 on: February 28, 2008, 11:04:59 PM »

Quote
Originally posted by Viper
you will need to compile anope with MySQL support... which means it has to say yes after ./Config.
Your server needs the Mysql libraries installed (libmysqlclient)... you should contact your host for more details regarding that.


Thanks for the info. I got it installed, I redid ./Config to make sure it saw it, but Its not updateing the mysql tables. The tables are there but they are all empty? Any suggestions?

thanks
Logged

katsklaw

  • Guest
(No subject)
« Reply #3 on: February 28, 2008, 11:33:52 PM »

See docs/MYSQL
Logged
Pages: [1]   Go Up