Mysql question (Strickens)
#1

Hi, I'm using Strickens mysql plugin, however it somehow closes connection sometimes (quite often)...
I guess there is a mistake in my script, however I fixed all errors and in the log it just says that mysql closed..
Is there any way to get whether the server is connected to the db?
so I could run a timer that checks whether it is connected and if not I could reconnect it...


thanks
Reply
#2

could be a problem of your MySQL host. Btw what host are you using for MySQL
Reply
#3

serverffs...
so is there any code to get whether the server is connected to the db?
Reply
#4

don't use severffs for MySQL hosting. Try to use this http://www.freesql.org/freesql/mysql
Reply
#5

I just want to know whether there is a function to get whether the connection exists or not...
Reply
#6

try using HTTP function
Reply
#7

example?
Reply
#8

Quote:
Originally Posted by Steven Paul
Посмотреть сообщение
don't use severffs for MySQL hosting. Try to use this http://www.freesql.org/freesql/mysql
Yeah, free remote MySQL databases are very helpful if you want to have a few seconds lag on your server and if you want your database to be deleted whenever the provider feels like it.
Reply
#9

I'm just asking for the function guys....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)