Sql errors
#1





Why do i get those? Im trying to do a login register sys.


https://sampforum.blast.hk/showthread.php?tid=574714
Reply
#2

Have you included mysql into the script?
Reply
#3

And i want to say that i got the lastest sql include

Edit: yeah i have done so
Reply
#4

The functions you're using are for R33-R39.

For R40+ see https://sampwiki.blast.hk/wiki/MySQL/R40
Reply
#5

Now i only get 3 tag mismatch. Im using new MySQL:db_handle
Reply
#6

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;
Код:
new MySQL:db_handle;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)