I'm having trouble with the MySQL information for http://forums.alliedmods.net/showthread ... ost1513401:
I'm getting this error:
L 07/18/2011 - 17:36:03: New section, multiline unterminated (file "cstrike\addons\amxmodx\data\lang\ingame_psychostats.txt" line 341)
L 07/18/2011 - 17:36:06: [ingame_psychostats.amxx] [IG-PS] Error: (2003) Can't connect to MySQL server on 'localhost' (10061)
L 07/18/2011 - 17:36:06: [ingame_psychostats.amxx] [IG-PS] Query: SELECT `value` FROM `config` WHERE `var` = 'version';
MySQL trouble
-
- New to forums
- Posts: 5
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Mon Jul 18, 2011 2:10 pm
Re: MySQL trouble
Using localhost only works if the database is located on the same machine as the game server. In the case of our standard game server rentals and managed servers, the psychostats are located on a remote machine. Installing the plugin from the "Autoinstallers" section of the control panel should configure the SQL information for you correctly.
TimeX
Re: MySQL trouble
I didn't use localhost while installing the plugin, that's why I'm confused.TimeX wrote:Using localhost only works if the database is located on the same machine as the game server. In the case of our standard game server rentals and managed servers, the psychostats are located on a remote machine. Installing the plugin from the "Autoinstallers" section of the control panel should configure the SQL information for you correctly.
Re: MySQL trouble
That is a bit strange, since the error shows it trying to and failing. It may be that it is reading the database connection information from somewhere else in your server configuration.
TimeX
Re: MySQL trouble
This went into the amxx.cfg file:TimeX wrote:That is a bit strange, since the error shows it trying to and failing. It may be that it is reading the database connection information from somewhere else in your server configuration.
// -------------------
// MySQL configuration
// Host of your database
ps_host ""
// User to login with
ps_user ""
// User password
ps_pass ""
// Database to connect to
ps_db ""
// Prefix of the tables
ps_prefix "ps_"
It should only be taking the information from that .cfg file.
Re: MySQL trouble
Did you fill that out with the correct information -- the remote ps_host name (instead of ""), the right MySQL login name and password, and so on?
Re: MySQL trouble
Yes I did.Edge100x wrote:Did you fill that out with the correct information -- the remote ps_host name (instead of ""), the right MySQL login name and password, and so on?
Edit: Could I send it to you to confirm it's correct?
Re: MySQL trouble
Yes, if this is a shared or managed game server with us, please open a support request, and we can take a closer look at the file for you there.
Re: MySQL trouble
Did it, Request #419093.Edge100x wrote:Yes, if this is a shared or managed game server with us, please open a support request, and we can take a closer look at the file for you there.