'skip_networking'

Hello,

I have a question regarding this particular option in the config file. As I understand it, this disables networking entirely, so mysqld doesn’t listen on any port on any interface, just via sockets/pipes. Correct so far?

If I have a database on a local machine, and want to be able to access it from php scripts on a webserver on that same machine (say, phpmyadmin, or from php in my web pages)… will that work, or do I have to enable networking? Will php be able to ‘find’ mysqld if it isn’t listening on a network port?

TIA,

Monte

Mysql will not be accessible if you use skip_networking…I think. You can always control the hosts that are allowed to connect via the user table in the mysql database. Just set the host to localhost and then remote db connections won’t be allowed.