MySQL Error - G-StylezzZzz
#1

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)
Reply
#2

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..
Reply
#3

I dunno really know. I dunno think, that this is a solution to my problem ;(
Reply
#4

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.
Reply
#5

I dunno set one.
Reply
#6

I have the same problem and I havent seted any connection handle
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)