Mysql problem. Need help
#6

Update your mysql plugin and then use this:
Example for "/*YOUR MYSQL HANDLE*/":
pawn Код:
#define mysql_host "127.0.0.1"
#define mysql_user "root"
#define mysql_password ""
#define mysql_database "samp"

new mysql_handle;

public OnGameModeInit() {
    mysql_hadle = mysql_connect(mysql_host, mysql_user, mysql_database, mysql_password);
    return 1;
}
and this is not necessarily:
"", "");
Reply


Messages In This Thread
Mysql problem. Need help - by an4rei - 10.01.2015, 18:43
Re: Mysql problem. Need help - by bgedition - 10.01.2015, 18:48
Re: Mysql problem. Need help - by an4rei - 10.01.2015, 18:52
Re: Mysql problem. Need help - by Riddick94 - 10.01.2015, 18:59
Re: Mysql problem. Need help - by an4rei - 10.01.2015, 19:01
Re: Mysql problem. Need help - by bgedition - 10.01.2015, 19:02
Re: Mysql problem. Need help - by an4rei - 10.01.2015, 19:27
Re: Mysql problem. Need help - by an4rei - 10.01.2015, 19:29
Re: Mysql problem. Need help - by bgedition - 10.01.2015, 19:31
Re: Mysql problem. Need help - by an4rei - 10.01.2015, 19:37

Forum Jump:


Users browsing this thread: 4 Guest(s)