Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: irc2sql problem  (Read 4369 times)

0 Members and 1 Guest are viewing this topic.

Francesco

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 15
  • Il Caius
    • Caius' Site
irc2sql problem
« on: June 28, 2014, 08:25:50 PM »

Hi all.
I have a problem with the irc2sql module.
Using Anope 2.0.1, I properly configured MySQL and enabled irc2sql. In my database, however, the tables related to statistics (chan, ison, user, etc.) do not contain any data, but remain empty. I may have been wrong or forget something? What could be the problem to this?
Thanks to all for the answers

Jens Voss

  • Team
  • *
  • Offline Offline
  • Posts: 125
Re: irc2sql problem
« Reply #1 on: July 03, 2014, 06:38:23 AM »

Hi Francesco,

what mysql version do you use?
Anope creates some stored procedures on startup.
Your mysql user probably needs some more permissions.

http://dev.mysql.com/doc/refman/5.0/en/stored-routines-privileges.html

If you start anope in debug mode it should give you some error messages from the mysql server.

Logged

Francesco

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 15
  • Il Caius
    • Caius' Site
Re: irc2sql problem
« Reply #2 on: July 03, 2014, 09:44:20 AM »

Hi,
my MySQL version is 5.5.38 and MySQL user that anope uses has all the necessary permissions for stored procedures.
I tried to start Anope in debug mode and so I've seen some error messages for various tables, saying "Cannot load from mysql.proc. The table is probably corrupted". What does it mean? How can I solve that?
Thanks

Jens Voss

  • Team
  • *
  • Offline Offline
  • Posts: 125
Re: irc2sql problem
« Reply #3 on: July 03, 2014, 09:56:02 AM »

My good old friend google suggests running "mysql_upgrade" to fix it. (you probably upgraded from an older mysql version)
Logged

Francesco

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 15
  • Il Caius
    • Caius' Site
Re: irc2sql problem
« Reply #4 on: July 03, 2014, 10:01:02 AM »

Yeah, thanks to friend Google :D
Now everything works correctly, thanks for your help :)
Pages: [1]   Go Up