MySQL Error - G-StylezzZzz - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: MySQL Error - G-StylezzZzz (
/showthread.php?tid=209480)
MySQL Error - G-StylezzZzz -
Jony_King - 10.01.2011
Hey,
i have a problem with my mysql code.
It works fine. But at my new hoste it dont work.
I get this error, everytime.
Invalid Connection Handle - (You set: 1, Highest connection handle ID is 0)
Re: MySQL Error - G-StylezzZzz -
*IsBack - 10.01.2011
Quote:
Originally Posted by Jony_King
Hey,
i have a problem with my mysql code.
It works fine. But at my new hoste it dont work.
I get this error, everytime.
Invalid Connection Handle - (You set: 1, Highest connection handle ID is 0)
|
How can you set a connection handle? :O
Isn't it given by mysql_connect function?
pawn Код:
new con_handle;
con_handle = mysql_connect(/*....*/);
and then you use con_handle as connection handle in every function..
Re: MySQL Error - G-StylezzZzz -
Jony_King - 10.01.2011
I dunno really know. I dunno think, that this is a solution to my problem ;(
Re: MySQL Error - G-StylezzZzz -
JaTochNietDan - 10.01.2011
Well what are you doing? Are you even setting a connection handle? Just don't set one unless you need to and it'll all work by default.
Re: MySQL Error - G-StylezzZzz -
Jony_King - 11.01.2011
I dunno set one.
Re: MySQL Error - G-StylezzZzz -
Macluawn - 19.02.2011
I have the same problem and I havent seted any connection handle