SA-MP Forums Archive
MySQL Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MySQL Help (/showthread.php?tid=568660)



Help regarding MySQL - DetoNater - 24.03.2015

It's been long time back here. I am amateur scripter Mysql plugins have been updated, I have my old mysql plugin in script, terms are different, some commands such as mysql ping is missing so I need help regarding the new mysql plugin in comparison with the old one(which replaces what) etc..

Thanks in advance.


Re: MySQL Help - DetoNater - 24.03.2015

-Bump- A little doubt, which is the new command for mysql_ping in mysql r33+


Re: MySQL Help - Vince - 24.03.2015

There isn't one. You don't need it. The plugin will automatically reconnect. If you need to verify that the connection was successful, use mysql_errno.


Re: MySQL Help - DetoNater - 24.03.2015

Thanks dude now, I instead of changing the callbacks in every line, for example I just put #define cache_get_field_count mysql_field_count

will it work in every case ??


Re: MySQL Help - BleverCastard - 24.03.2015

Quote:
Originally Posted by DetoNater
Посмотреть сообщение
Thanks dude now, I instead of changing the callbacks in every line, for example I just put #define cache_get_field_count mysql_field_count

will it work in every case ??
I doubt anyone has done that, but you can try.