Posts: 2,528
Threads: 124
Joined: Jul 2009
Reputation:
0
Query error, script stuck somewhere and not executing further, server crash. Top 3 causes in no particular order
(or you forgot to call function showing the dialog lol)
Posts: 2,528
Threads: 124
Joined: Jul 2009
Reputation:
0
Part before brackets still stands. If server crashes and you are using crashdetect you should see crash in log immediately. Check mysql_log to see if query failed. I doubt the code is stuck, so first check first two options
Posts: 150
Threads: 1
Joined: Jan 2015
Reputation:
0
Perhaps the database isn't connecting correctly?
Have you checked your server log and database/storage (MySQL or other) logs for errors?
Posts: 2,528
Threads: 124
Joined: Jul 2009
Reputation:
0
I think root will be used when no username is provided to the connection. Show your connection code
Posts: 150
Threads: 1
Joined: Jan 2015
Reputation:
0
It looks like you are entering incorrect MySQL connection details, you should check the details are correct in your script at mysql_connect.
Posts: 150
Threads: 1
Joined: Jan 2015
Reputation:
0
You need to check the actual gamemode script where the connection is made, search for the function mysql_connect.
It is common that the connection details may be defined somewhere else in the script and then used at mysql_connect, they could be near the top of your script and defined as MYSQL_HOST, MYSQL_PASSWORD etc. or similar.