Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 05-11-2004, 03:37 AM   #1
Registered: Apr 2004
Posts: 340

Rep: Reputation: 30
How-to get access to MySQL on Red Hat 9

On my Red Hat 9 box, I have Apache, PHP and MySQL running.
These 3 were installed with Red Hat.
They are working fine.

On another Windows PC, I have an IDE package that needs to connect to a database on the above MySQL.
I assume that MySQL is available on port is 3306.

I cannot connect to MySQL because of the firewall (I think) on Red Hat.
I can however perform command line MySQL queries when I am logged on Red Hat box.

How do I gain access to MySQL from outside the Red Hat box?
Old 05-11-2004, 02:15 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
You may want to try disabling iptables to see if it is yuor firewall:
service iptables stop

Have you added a user account and allowed that account access from any host or from that specific host?
Old 05-11-2004, 05:07 PM   #3
Registered: Apr 2004
Posts: 340

Original Poster
Rep: Reputation: 30
yes, I have created an account for a user in mysql

then i opened tcp and udp port 3306 on iptables

that seems to do it

Old 05-19-2004, 09:43 PM   #4
LQ Newbie
Registered: Mar 2004
Location: United States, Springfield, Ohio
Distribution: Slackware
Posts: 9

Rep: Reputation: 0
What version of Mysql do you run?

Last edited by Longhaul; 05-19-2004 at 09:44 PM.


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
Can't Get Web Access In Red Hat javakills Linux - Newbie 5 12-09-2005 07:36 AM
MYSQL and Red Hat 9.0 Linux yru Linux - Software 1 07-21-2005 04:51 AM
MySQL / Red Hat 9 ? novice22 Linux - Software 3 02-09-2004 06:12 AM
Red Hat 9.0 & mySQL TastyWheat Linux - Distributions 0 08-26-2003 06:41 PM
location of MySQL Directory in Red Hat meluser Linux - Software 3 04-20-2003 12:59 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

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

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