Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Transfer .db to mysql database  (Read 3644 times)

0 Members and 1 Guest are viewing this topic.

Matthijs

  • Anope User
  • Offline Offline
  • Posts: 7
Transfer .db to mysql database
« on: May 23, 2009, 12:39:45 PM »

Hello,

I want to use mysql for the services. Is it possible to "transfer" the information in the .db files i use now to a mysql database?

thanks,

Mattie
Logged

LEthaLity

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 307
    • LEthaLity
Re: Transfer .db to mysql database
« Reply #1 on: May 23, 2009, 12:46:53 PM »

anope writes what's in the .db files to the mysql tables, so if you've got mysql set up etc, it would write to mysql on next update.
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
Re: Transfer .db to mysql database
« Reply #2 on: May 23, 2009, 05:04:16 PM »

It should also be noted that even when Anope is saving to the MySQL DB's there is no way to disable saving to the .db files as well so Anope will also save to those. Secondly you should also be made aware that you CANNOT change the MySQL data while Anope is runnig, otherwise any changes you make will just get overwritten by Anope on the next write.
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

Matthijs

  • Anope User
  • Offline Offline
  • Posts: 7
Re: Transfer .db to mysql database
« Reply #3 on: May 24, 2009, 06:02:55 PM »

So if you enable Mysql it write's the data to both .db files nd mysql database?
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Transfer .db to mysql database
« Reply #4 on: May 24, 2009, 06:21:03 PM »

Yes.

And will only ever READ from MySQL again on start up (if you enable UseRDB)
Logged
Pages: [1]   Go Up