Raised This Month: $51 Target: $400
 12% 

MYSQL Plugins dont work since some days


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mazdarx8
Veteran Member
Join Date: Aug 2014
Old 04-15-2016 , 11:01   MYSQL Plugins dont work since some days
Reply With Quote #1

Hello,

first sorry for my bad english.

Overview:
Extern database
2x Rootserver

On my first rootserver I dont have this problems. On my first rootserver there are running same plugins, configs etc,. like on my 2nd rootserver.

On my second rootserver, plugins which mysql dont work anymore:

Example error log on my 2nd root:
PHP Code:
Unable to initiate database connection. ([1042]: Can't get hostname for your address) 
On my first root no error logs.

sm exts list (2nd root):
PHP Code:
[13MySQL-DBI (1.7.3-dev+5280): MySQL driver implementation for DBI 
Looks fine..


Restarted mysql, restarted 2nd rootserver.. no positive effect..
mazdarx8 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-15-2016 , 11:32   Re: MYSQL Plugins dont work since some days
Reply With Quote #2

ip address or domain address ?
__________________
Do not Private Message @me
Bacardi is offline
mazdarx8
Veteran Member
Join Date: Aug 2014
Old 04-15-2016 , 14:55   Re: MYSQL Plugins dont work since some days
Reply With Quote #3

database.cfg:

"store"
{
"driver" "mysql"
"host" "IPADRESS"
"database" "name"
"user" "name"
"pass" "passwd"
//"timeout" "0"
//"port" "0"
}

like on Root A (where its working)
mazdarx8 is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 04-15-2016 , 18:29   Re: MYSQL Plugins dont work since some days
Reply With Quote #4

I used to get this on shared hosting. Might be the same issue.

The host had multiple NICs / ips.

I would add the game servers ip to the remote mysql hosts in cpanel to allow the connection.

All fine.

The host then forced all mysql client connections to use another NIC.

It was effectively impossible to troubleshoot why the connection is refused to the mysql server until i realised the error message had another ip.

Oh. Add that to the mysql remote list. Bang done.

A couple of times the host had to flush the mysql server because of bans.
__________________
Neuro Toxin is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 04-15-2016 , 19:22   Re: MYSQL Plugins dont work since some days
Reply With Quote #5

Look at this stuff, on the server housing your MySQL server.

And make sure there is a valid reverse DNS (PTR<->A record combination must match in both directions) on the server housing your game server, talk to your ISP for more information.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode