LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   How-to get access to MySQL on Red Hat 9 (https://www.linuxquestions.org/questions/red-hat-31/how-to-get-access-to-mysql-on-red-hat-9-a-180216/)

lothario 05-11-2004 02:37 AM

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?

david_ross 05-11-2004 01:15 PM

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?

lothario 05-11-2004 04:07 PM

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

thanks

Longhaul 05-19-2004 08:43 PM

What version of Mysql do you run?


All times are GMT -5. The time now is 05:26 PM.