Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: About Anope MySQL question  (Read 5683 times)

0 Members and 1 Guest are viewing this topic.

GhosT

  • Guest
About Anope MySQL question
« on: October 01, 2006, 02:55:22 AM »

Hi forumers,

I have an unclear question about Anope with MySQL. It is not a problem yet but i wanna be clear :)
If before I used Anope with MySQL and later on I want to use Anope with only *.db files but I have only SQL database, is there any solution?

Thanks,
Logged

katsklaw

  • Guest
(No subject)
« Reply #1 on: October 01, 2006, 04:01:28 AM »

Anope is in phase 2 still, which means it reads and writes from it's *.db files. If you delete the db files while services is shut down, then all your data is lost. Anope does not read from mysql in a live environment (yet).

Dumping data to mysql at this stage doesn't really do anything other than allow other entities such as a website to read from services data.
Logged

GhosT

  • Guest
(No subject)
« Reply #2 on: October 01, 2006, 08:48:31 AM »

Thank you katsklaw for your quick reply. It s clear now.
So, there should be a tool (in src/tools) to transfer data from SQL to *.db in case we lose *.db and have only SQL. That would be great :)
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #3 on: October 01, 2006, 11:38:15 AM »

simply start anope with UseRDB in services.conf defined...
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

katsklaw

  • Guest
(No subject)
« Reply #4 on: October 01, 2006, 02:50:27 PM »

Another thing is that if services is running and the db's are deleted, a simple /os update should fix the issue or wait until UpdateTimeout which by default is 5 minutes and the db's should be recreated.
Logged

GhosT

  • Guest
(No subject)
« Reply #5 on: October 07, 2006, 11:35:20 AM »

Quote
Originally posted by Viper
simply start anope with UseRDB in services.conf defined...

Thank you all, I will try this once ;)
Logged
Pages: [1]   Go Up