Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't hit from outside machines

Status
Not open for further replies.

skiflyer

Programmer
Sep 24, 2002
2,213
US
I'm migrating my Apache/MySQL/PHP box from Windows to Unix... and now the machines which hit the MySQL database no longer seem to be able to access the MySQL databases.

The server is all setup, I'm running phpMyAdmin on it locally and all my local php scripts work fine, but a couple machines hit MySQL from the outside...

One example is a PHP script, and it gives me
Code:
Warning: mysql_connect(): Can't connect to MySQL server on 'devcentral' (10061)

Do I need to modify something so that it can be seen?

Thanks.
 
So I think it's because if I type SHOW VARIABLES LIKE 'skip_networking';

I see that skip_networking is in fact turned on... eep, now I need to turn it off! Digging through the manuals, not seeing how... anyone know?
 
Sorry to be a pain... I found it...

It is in the my.cnf file as expected, but even though the variable is called skip_networking the directive is skip-networking
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top