Anope IRC Services

Anope Development => Modules => Topic started by: GhosT on March 29, 2010, 05:03:47 AM

Title: Anope 1.8.x : module to work with mysql?
Post by: GhosT on March 29, 2010, 05:03:47 AM
Hello,

Is there anybody ever made a module for anope 1.8 with mysql support? or an examples of how to implement it?

Cheers,
Title: Re: Anope 1.8.x : module to work with mysql?
Post by: Naram Qashat on March 29, 2010, 05:42:24 AM
Um, Anope 1.8.x has MySQL support in it's core, although to be honest, it's not good MySQL support.  If you really want better MySQL support, I'd suggest holding out for the 1.9.x branch to stabilize.
Title: Re: Anope 1.8.x : module to work with mysql?
Post by: GhosT on March 29, 2010, 10:57:02 AM
I've notice in 1.7.x, some people created the some modules with MySQL and I think it won't work with 1.8.x. I ever tried anope 1.9.1 and noticed the MySQL core is not done yet.

Oh, I just saw in docs/MYSQL:

Quote
MySQL Support was removed in 1.9.0 until it can be better implemented moving forward.
Title: Re: Anope 1.8.x : module to work with mysql?
Post by: Jan Milants on March 29, 2010, 11:07:16 AM
It was recently re-added in svn, but i am not sure whether you want to start using it right away on a live net..

as for sql using modules in 1.8, there used to be plenty, but on the new modules site many seem to have vanished.. some are still left i think like
http://modules.anope.org/index.php?page=view&id=82
i also have an old version of ns_ajoin by someone that used SQL (main reason i wrote a new version).. i think there also used to be a !seen module that used sql, but can't seem to find that one..
Title: Re: Anope 1.8.x : module to work with mysql?
Post by: GhosT on March 29, 2010, 11:15:13 AM
http://modules.anope.org/index.php?page=view&id=82 direct to misc_sqlcmd with the latest update on 23/08/07 with anope 1.7.18 supported. Do you think that it will work with anope 1.8.x?
Title: Re: Anope 1.8.x : module to work with mysql?
Post by: Jan Milants on March 29, 2010, 11:19:07 AM
probably not, but you asked for an example on how to implement SQL in 1.8, and that won't have changed..
Title: Re: Anope 1.8.x : module to work with mysql?
Post by: GhosT on March 30, 2010, 02:55:04 AM
OK I will try it  :)