Anope IRC Services
Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: adema on June 23, 2007, 11:38:34 AM
-
Hi everyone,
I'm developing some tools for my network, and i need to read the files *.db in the anope directory, but i found no informations about the type of database and how can i open/read/use it.
I hope you could help me
adema
P.S: i'm using python per aps someone could give the name of a module which can read the db's files.
-
As far as I know, theyre a custom format so you would need custom coding to read them too. If you enabled MySQL on Anope, it will dump to MySQL and to the .db's too so you can then use the MySQL for your apps.
Bear in mind neither the .db's or MySQL DB's are live EVER. THey are both written to periodically if MySQL is enabled, or just the .db's without MySQL.
-
Well MySQL in anope is not stable at the moment so i prefer keeping my .db files. But could someone give me the specs of the file format ? Thx ...
-
There is no uniform document that explains the syntax for reading the .db files. You'll have to read the source code to find out.
-
Well i will propably code entirely my services ...