Webmaster Help Click here to get Google ads FREE
|
Welcome, Guest. Please login or register.
Did you miss your activation email?
Jan 06, 2009, 06:03:51 AM

Login with username, password and session length

Life is to be fortified by many friendships. To love and to be loved is the greatest happiness of existence.


- Sydney Smith

Welcome Guest - Register or Login Now to remove these advertisments


Registration is completely free and only takes a few minutes to signup !

|-   Entrepreneur Forum > Webmasters - Discuss Making Money Online > Website Design and Maintenance > Database
+   Connect to MySQL from remote host using Navicat
0 Members and 1 Guest are viewing this topic.
Pages: [1] Reply to Thread
Author Topic: Connect to MySQL from remote host using Navicat  (Read 367 times)
OfflineOnlineBob
Senior Member
OnlineBob is on a distinguished road
Joined: Dec 2006
Posts: 136


Avatar of OnlineBob

That's important, now isn't it ?

View OnlineBob\s ProfileWWW
Gender: MaleAquarius Netherlands
notepad Jan 05, 2008, 05:44:49 PM #1
I'm banging my head against the wall. My client has a new dedicated server running MySQL on the linux platform. I am trying to connect to the database with a remote connection using Navicat mysql software. I logged into the mysql server in ssh as root user and  added another user with the host '%' (which should mean connect from anywhere) but I keep getting an error "Unable to connect to database".

Is there something I need to set in the database ?

Online~Dave~
Administrator
~Dave~ is a jewel in the rough~Dave~ is a jewel in the rough~Dave~ is a jewel in the rough~Dave~ is a jewel in the rough
Joined: Jan 2006
Posts: 6186


Avatar of code4gol

Building a Foundation

View ~Dave~\s ProfileWWW
Gender: MaleGemini United States
notepad Jan 07, 2008, 03:57:00 AM #2
Did you make sure you opened the port in iptables firewall ?? Here's the command...

iptables -A INPUT -p tcp --destination-port 3306 -j ACCEPT


Also, you should make sure you have the following lines in your  /etc/my.cnf

port=3306
socket=/var/lib/mysql/mysql.sock

Latest Blog Post : Social Media Optimization for Social Media Marketing

Pages: [1] Reply to Thread


Code4Gold Affiliate Entrepreneur Moneymaker Forum © 2006-2008 Resdaz Media LLC - All Rights Reserved

Forum Software Powered by SMF - © 2001-2008, Lewis Media. All Rights Reserved.