Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-16-2003, 02:38 AM   #1
Registered: May 2001
Location: US somewhere
Distribution: Mandrake Redhat Debian Usually the last versions
Posts: 45

Rep: Reputation: 15
Remote Connection to mysql server

Anyone??? When I try to connect to mysql (redhat flavor) from my windows using mysqlcc or a linux box with mysql -h *.*.*.* I get Error 1045:Access Denied for user test@*.*.*.* (Using Password: Yes) Now I did use "Grant ALL ON test.* to test@'%' IDENTIFIED....." in the local mysql. Is there a setting in the my.conf I must change to allow remote access. I also ensured that the hosts.allow has the mysql port open to both machines.Many thanks..
Old 07-19-2003, 12:27 AM   #2
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
run this

netstat -lnp | grep 3306

see if it's running
[root@zeus root]# netstat -lnp | grep 3306

tcp 0 0* LISTEN 18839/

18839 is the PID

check to see that the PID is mysqld

ps p 18839

18839 pts/4 S 0:00 [mysqld]

If it's running then you can check for a firewall blocking the connection


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysql remote connection issue Jukas Linux - Software 7 11-05-2011 11:25 PM
can't get remote access to mysql server hughes28105 SUSE / openSUSE 6 09-17-2005 10:07 PM
Mysql Remote Connection Problems harbringer Linux - Software 5 04-14-2005 03:42 PM
Remote Mysql Connection in PHP ElementNine Programming 2 05-03-2004 05:24 PM
connecting to remote MySQL server acos7 Linux - Software 2 01-31-2004 12:37 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:54 PM.

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