Mysql - connection already exists
#5

Let's view the things again. You got:
pawn Код:
[WARNING] CMySQLHandle::Create - connection already exists
which happens if you call mysql_connect more than once in the same script.

The code seems pretty much fine (don't forget to use "return" if there is no response) so debugging:
pawn Код:
printf("hpass: \"%s\" & pInfo[playerid][Password]: \"%s\"", hpass, pInfo[playerid][Password]);
if(!strcmp(hpass, pInfo[playerid][Password]))
What does it print?
Reply


Messages In This Thread
Mysql - connection already exists - by Battlezone - 04.06.2015, 21:40
Re: Mysql - connection already exists - by Battlezone - 05.06.2015, 14:26
Re: Mysql - connection already exists - by Konstantinos - 05.06.2015, 14:32
Re: Mysql - connection already exists - by Battlezone - 05.06.2015, 14:46
Re: Mysql - connection already exists - by Konstantinos - 05.06.2015, 15:15
Re: Mysql - connection already exists - by Battlezone - 05.06.2015, 16:33

Forum Jump:


Users browsing this thread: 1 Guest(s)