18.05.2010, 14:31
Im a sort of beginner at MySQL,
Anyway im using StrickenKid's MySQL plugin,
I have this ( My friend gave me it ) to for a register:
And ingame when i type that command, It sends this to my server console:
But when i loaded the FS it successfully connected to mysql
Anyway im using StrickenKid's MySQL plugin,
I have this ( My friend gave me it ) to for a register:
pawn Код:
CMD:test1(playerid, params[])
{
new string[256];
format(string,sizeof(string),"INSERT INTO `users` (`username`, `password`) VALUES ('%s', '%s')", GetName(playerid), params);
mysql_query(string);
return 1;
}
Quote:
Originally Posted by Server Console
MySQL Error <0>: Function 'mysql_query' called when not connected to any database, Access denied for user 'root'@'password' <using password: YES>
|