MySQL can't connect, beacuse of access denied.
#4

Okay. Now i created password just for test (my password is 123456). I'm able to log via HeidiSQL with username root and password 123456, but my script still shows that the access was denied.
Quote:

public OnGameModeInit()
{
new MySQL:connection = mysql_init(LOG_ONLY_ERRORS, 1);
mysql_connect("127.0.0.1", "root", "123456", "cnr", connection, 1);
SetGameModeText("Cops And Robbers");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}

PS: Fixed it. It was because of my MySQL password. Maybe this plugin doesn't support blank passwords
Reply


Messages In This Thread
MySQL can't connect, beacuse of access denied. - by TheDeath - 09.12.2013, 18:07
Re: MySQL can't connect, beacuse of access denied. - by SilentSoul - 09.12.2013, 18:08
Re: MySQL can't connect, beacuse of access denied. - by TheDeath - 09.12.2013, 18:12
Re: MySQL can't connect, beacuse of access denied. - by TheDeath - 09.12.2013, 18:23

Forum Jump:


Users browsing this thread: 1 Guest(s)