Sql errors - 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)
+--- Thread: Sql errors (
/showthread.php?tid=652261)
Sql errors -
Drak03 - 06.04.2018
Why do i get those? Im trying to do a login register sys.
https://sampforum.blast.hk/showthread.php?tid=574714
Re: Sql errors -
kovac - 06.04.2018
Have you included mysql into the script?
Re: Sql errors -
Drak03 - 06.04.2018
And i want to say that i got the lastest sql include
Edit: yeah i have done so
Re: Sql errors -
zMax - 06.04.2018
The functions you're using are for R33-R39.
For R40+ see
https://sampwiki.blast.hk/wiki/MySQL/R40
Re: Sql errors -
Drak03 - 06.04.2018
Now i only get 3 tag mismatch. Im using new MySQL:db_handle
Re: Sql errors -
MarioKamani - 06.04.2018
And here's the error lines:
Код:
if(mysql_errno(db_handle) != 0)
{
printf("** [MySQL] Couldn't connect to the database (%d).", mysql_errno(db_handle));
SendRconCommand("exit");
}
else
{
printf("** [MySQL] Connected to the database successfully! (%d)", _:db_handle);
}
I've added those too..
Код:
new MySQL:db_handle;