mysql error help please
#1

hello i have this can someone help me?

Reply
#2

Are you sure the MySQL info is correct.
Reply
#3

please help i have this

pawn Код:
mysql_connect("localhost", "root", "", "myserver", MySQL:0, 1);
Reply
#4

What version of the MySQL plugin do you use? For example, in R34 is:
pawn Код:
native mysql_connect(const host[], const user[], const database[], const password[], port = 3306, bool:autoreconnect = true);
and it'd be:
pawn Код:
mysql_connect("localhost", "root", "myserver", "");
Reply
#5

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
What version of the MySQL plugin do you use? For example, in R34 is:
pawn Код:
native mysql_connect(const host[], const user[], const database[], const password[], port = 3306, bool:autoreconnect = true);
and it'd be:
pawn Код:
mysql_connect("localhost", "root", "myserver", "");
hello sir i use this https://sampforum.blast.hk/showthread.php?tid=122983
Reply
#6

Oh, well from a research - you should use mysql_init before mysql_connect.
Reply
#7

tell me how please
Reply
#8

Quote:
Originally Posted by Gafsi
Посмотреть сообщение
tell me how please
http://www.strickenkid.com/mysql_plugin/example.pwn

Take a look in OnGameModeInit.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)