MySQL Connect
#4

Quote:
Originally Posted by [NoV]LaZ
Посмотреть сообщение
He means that if he starts his server while his MySQL server is offline, it'll print that the connection was successful.
In that case, its likely he is using G-StyleZzZ's plugin, which can not be used this way. The connect function returns a connection handle, not true or false if the db has connected. Use mysql_ping to see if the db is active.
Reply


Messages In This Thread
MySQL Connect - by Nonameman - 21.08.2010, 11:15
Re: MySQL Connect - by wups - 21.08.2010, 11:19
MySQL Connect - by [NoV]LaZ - 21.08.2010, 11:28
Re: MySQL Connect - by Kyosaur - 21.08.2010, 11:32
MySQL Connect - by [NoV]LaZ - 21.08.2010, 11:38
Re: MySQL Connect - by Nonameman - 21.08.2010, 12:29
Re: MySQL Connect - by WackoX - 21.08.2010, 12:33
Re: MySQL Connect - by Kirollos - 19.04.2012, 19:42

Forum Jump:


Users browsing this thread: 1 Guest(s)