LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 07-16-2003, 01:38 AM   #1
Graanco
Member
 
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-18-2003, 11:27 PM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
run this

netstat -lnp | grep 3306


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

tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 18839/

18839 is the PID

check to see that the PID is mysqld

ps p 18839

PID TTY STAT TIME COMMAND
18839 pts/4 S 0:00 [mysqld]




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


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 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 10:25 PM
can't get remote access to mysql server hughes28105 Suse/Novell 6 09-17-2005 09:07 PM
Mysql Remote Connection Problems harbringer Linux - Software 5 04-14-2005 02:42 PM
Remote Mysql Connection in PHP ElementNine Programming 2 05-03-2004 04:24 PM
connecting to remote MySQL server acos7 Linux - Software 2 01-30-2004 11:37 PM


All times are GMT -5. The time now is 03:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration