29.10.2017, 19:21
If anyone has some issues with database connection, follow these steps...
First update your functions.inc from github.
Then open functions.inc in "gamemodes/rp" and find;
mysql_connect
Then you change the complete line with this:
mySQLconnection = mysql_connect(Setting[setting_mysql_hostname], Setting[setting_mysql_username], Setting[setting_mysql_database], Setting[setting_mysql_password]);
There was a small error at mysql_connect function.
First update your functions.inc from github.
Then open functions.inc in "gamemodes/rp" and find;
mysql_connect
Then you change the complete line with this:
mySQLconnection = mysql_connect(Setting[setting_mysql_hostname], Setting[setting_mysql_username], Setting[setting_mysql_database], Setting[setting_mysql_password]);
There was a small error at mysql_connect function.