LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-09-2005, 12:53 PM   #1
Tancrede
LQ Newbie
 
Registered: Jun 2003
Location: Calais, France
Distribution: Fedora Core 1
Posts: 27

Rep: Reputation: 15
How to access mysql server on network server ?


Hi chaps,

I've got a debian woody server working on my network with the following adress 192.168.0.200
A mysql server is installed on it. ( i can access it remotely with phpmyadmin )
Every pc on the network is dhcp configured.

When using Mysql Query Browser or EMS Sql Manager, it says that it cannot connect to mysql server to obtain database list.

How can i configure for this server to be accessible via port 3306 ?

Regards,

pierre

Last edited by Tancrede; 04-09-2005 at 12:57 PM.
 
Old 04-09-2005, 01:00 PM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Rep: Reputation: 46
First things first, determine which ip the server was assigned (ifconfig). Then check the firewall on the server to see that 3306 is open (iptables -L). Use a client (or the command line) on the server itself and make sure the mysql user you are using to connect has an entry for remote (user@% or user@<remoteip>. Once you have checked these out, try to connect again from a remote machine.

Mysql usually ships with local access only for its default users (like root) as a security measure. You have to enable remote access for each user you want to allow to connect remotely.

Last edited by Pcghost; 04-09-2005 at 01:01 PM.
 
Old 04-09-2005, 01:12 PM   #3
Tancrede
LQ Newbie
 
Registered: Jun 2003
Location: Calais, France
Distribution: Fedora Core 1
Posts: 27

Original Poster
Rep: Reputation: 15
Done !
Tks for the tips ... i've checked everything as well as a file named /etc/mysql/my.cnf
I've comment out line skip-networking
Works fine now !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 03:13 PM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock welery Linux - Software 19 03-06-2014 08:19 AM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 02:52 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 09:44 AM
Can't connect to local MySQL server tinaa Linux - Software 2 05-21-2003 07:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration