20.01.2017, 11:38
Hello everyone,
I've run my gamemode, I've scripted it like two years ago, it uses the include file "mysql" (not a_mysql), and the plugin mysql.dll
When I run the server on my localhost, it says: Access denied for 'root'@'localhost' ....
Here's OnGameModeInit callback:
I've run my gamemode, I've scripted it like two years ago, it uses the include file "mysql" (not a_mysql), and the plugin mysql.dll
When I run the server on my localhost, it says: Access denied for 'root'@'localhost' ....
Here's OnGameModeInit callback:
PHP Code:
public OnGameModeInit()
{
connection = mysql_init(LOG_ONLY_ERRORS, 1);
mysql_connect("localhost", "root", "", "cnr", connection, 1);
return 1;
}