If you were getting the error before stopping iptables then even though it was running, it was not interfering. If you want to prevent iptables from loading just find the SXXiptables entry in /etc/rc.d/rc3.d or /etc/rc.d/rc5.d depending on whether you boot to the GUI (or do this in both) and move it to sXXiptables. This is replacing the XX with the number it currently uses and all you are doing is changing the case of the "S" which will prevent it from loading. But again, this isn't what was preventing you from logging on.
Did you load RH8 as a fresh install or an upgrade? The only problem I had on mine was allowing the user to login from a remote host in mysql users and making sure that the machine the user is allowed to login from is listed in hosts (if you used the computername in the users table). After that it worked ok right out of the box. (so to speak) Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Richard Humphrey Sent: Friday, February 28, 2003 6:12 PM To: [EMAIL PROTECTED] Subject: RE: RH 8.0 and mySQL OK ran service iptables stop and it stopped so apparently some configuration was running. I was in error before when I said I could not telnet to it. It actuallys aid I connected, but then immediate gave me connection closed by foreign host error. It still does this after stopping iptables. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Larry Brown Sent: Friday, February 28, 2003 5:03 PM To: [EMAIL PROTECTED] Subject: RE: RH 8.0 and mySQL Try this.. service iptables stop on the server that mysql is running on and see if it gives you an ok. Then try the telnet to 3306 from the remote machine again. If it works then there are firewall rules in place. Let me know and we can stop the firewall from loading with the os. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Richard Humphrey Sent: Friday, February 28, 2003 5:44 PM To: [EMAIL PROTECTED] Subject: RE: RH 8.0 and mySQL We are unable to connect via telnet to port 3306 (does telnet server need to be running?) This machine is on our LAN and already behind a firewall, so no firewall is running locally on the machine. I ran the netstat command and it appears to be listening on port 3306. What should I check for in the mySQL config? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of nate Sent: Friday, February 28, 2003 4:38 PM To: [EMAIL PROTECTED] Subject: Re: RH 8.0 and mySQL Richard Humphrey said: > I have a default install of RH 8 and mySQL 3.23.15 (I think) and I can get > things to work just fine using PHP locally, but if I try from another > server to run some PHP scripts I am told that I am unable to connect. We > have tried using the hostname as well as the IP address in our scripts and > also plugging in the port number (as suggested) to no avail. We keep > getting the message that we are unable to connect to hostname.domain etc. > I checked and we are not running with the skip-networking option enabled > so it shouldn't be that. What else could be causing this problem? telnet to the mysql server on port 3306 from the remote server and see if you can connect. if you can then it works, if you cannot then check firewall settings and mysql config. also run netstat -an | grep 3306 on the mysql server to be sure it's listening for connections I highly reccomend securing mysql connections with stunnel. nate -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list