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

Bug Report Updated mysql to 5.5 now sourcebans won't connect.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Pitbull3
AlliedModders Donor
Join Date: Aug 2009
Location: Degree-Gaming.com
Old 08-08-2014 , 16:30   Updated mysql to 5.5 now sourcebans won't connect.
Reply With Quote #1

Upgraded my web server to mysql 5.5 and now sourcebans won't connect.

L 08/08/2014 - 22:09:50: [sourcebans.smx] Database failure: [2003]: Can't connect to MySQL server on '*********' (111). See FAQ: http://www.sourcebans.net/node/20

This link doesn't work: http://www.sourcebans.net/node/20



---- fixed, mysql 5.5 changes the way bind-address works for [mysqld] in /etc/my.cfg

changing it to bind-address=* allows all connections to connect to mysql with user/pass.....

Last edited by Pitbull3; 08-09-2014 at 06:04.
Pitbull3 is offline
zeroibis
Veteran Member
Join Date: Jun 2007
Old 08-12-2014 , 02:43   Re: Updated mysql to 5.5 now sourcebans won't connect.
Reply With Quote #2

Wait so how did you fix this?

Planning to update to 5.5 but need to know what needs to be fixed and how to do it.
__________________

Last edited by zeroibis; 08-12-2014 at 02:44.
zeroibis is offline
Pitbull3
AlliedModders Donor
Join Date: Aug 2009
Location: Degree-Gaming.com
Old 08-12-2014 , 02:47   Re: Updated mysql to 5.5 now sourcebans won't connect.
Reply With Quote #3

I am running cpanel... my own web server ect...

When you upgrade to mysql 5.5 they change a few things that aren't really covered... the only thing I had to change to fix remote mysql connections was this line under the [mysqld] section:

bind-address=127.0.0.1
to this
bind-address=*

In the file /etc/my.cnf

Essentially what the bind-address=127.0.0.1 was telling mysqld that the mysql server will only accept connections locally. So * means accept any connection with user/pass obviously.
Pitbull3 is offline
zeroibis
Veteran Member
Join Date: Jun 2007
Old 08-12-2014 , 11:04   Re: Updated mysql to 5.5 now sourcebans won't connect.
Reply With Quote #4

Ah was it b/c they removed the "Remote Database Access Hosts" section in cpan with the latest version or do you just prefer to edit the file manually?

Also even though it is decrepit do mysql php functions still work?
__________________

Last edited by zeroibis; 08-12-2014 at 11:06.
zeroibis 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 10:35.


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