Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Oct 25, 2010 3:59 am 
Offline
Junior Member
User avatar

Joined: Wed Oct 20, 2010 7:10 pm
Posts: 36
Location: Sebastopol, CA
Hi,

I have set up a High Availability MySQL database on two Linodes. I am able to SSH into one of them and add new users and tables. I am not able to connect from another LAMP stack Linode. Any advice?

I followed the instructions to set up a HA MySQL server on Ubuntu 10.04:
http://library.linode.com/linux-ha/high ... untu-10.04

On each HA MySQL server, I altered /etc/mysql/my.cnf's bind-address to use the shared private IP between the two HA MySQL servers. Then I created a database and user at the private IP of my LAMP Linode with GRANT to the new database. I also have port 3306 available in my iptables and see no errors regarding this in my /var/log/syslog file and see nothing in the /var/log/mysql* logs

When I try to telnet from the LAMP Linode to the HA MySQL Linodes I get the following after a long delay:
Code:
root@li222-234:~# telnet 192.168.158.6 3306
Trying 192.168.158.6...
telnet: Unable to connect to remote host: Connection timed out


With mysql I get the following after a long delay:
Code:
root@li222-234:~# mysql -u dbuser -h 192.168.158.6 -p
Enter password:
ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.158.6' (110)


Thanks for any ideas of what to tweak.
-Josh


Top
   
 Post subject:
PostPosted: Mon Oct 25, 2010 10:45 am 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
firewall?


Top
   
 Post subject:
PostPosted: Mon Oct 25, 2010 11:14 am 
Offline
Junior Member
User avatar

Joined: Wed Oct 20, 2010 7:10 pm
Posts: 36
Location: Sebastopol, CA
I am using iptables but have opened port 3306 to all IPs. I also see no errors about this listed in my syslog, whereas other firewall blocks are listed here.

Thanks, Josh


Top
   
 Post subject:
PostPosted: Mon Oct 25, 2010 9:58 pm 
Offline

Joined: Mon Oct 25, 2010 9:51 pm
Posts: 1
what are those errors that you are referring?

can post what was stated on the error

so that we can analyze what was that.

thanks.

_________________
Wilhelm | Aldrin | Joody


Top
   
 Post subject: Same issue
PostPosted: Tue Oct 26, 2010 5:14 am 
Offline
Junior Member

Joined: Mon Sep 06, 2010 2:04 pm
Posts: 42
Having the same problem with an Aegri install. Will keep and eye and report if I succede fixing it.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group