manolo_asdf Posted December 21, 2007 Share Posted December 21, 2007 hi, i only need mysql for local app, so in view of security there is no point to expose it remotely. is there a way to start mysqld on localhost only? what needs to be configured with this? i look for something where this is done on process level (port is not visible remotely at all) instead on mysql user level (db is visible on port but not on mysql-user level). thanks for information. Quote Link to comment https://forums.phpfreaks.com/topic/82663-start-mysql-process-on-localhost-only/ Share on other sites More sharing options...
fenway Posted December 21, 2007 Share Posted December 21, 2007 There is a skip-networking option in the cnf file that prevents non-local host connections. Quote Link to comment https://forums.phpfreaks.com/topic/82663-start-mysql-process-on-localhost-only/#findComment-420557 Share on other sites More sharing options...
manolo_asdf Posted December 26, 2007 Author Share Posted December 26, 2007 problem is that running webapp is using tcp/ip stack so i cannot switch to process level access. is it possible to tell mysql to listen only at localhost? so instead of starting on all network interfaces (0.0.0.0) a start to 127.0.0.1 only would be fine. thanks again. Quote Link to comment https://forums.phpfreaks.com/topic/82663-start-mysql-process-on-localhost-only/#findComment-423113 Share on other sites More sharing options...
fenway Posted December 27, 2007 Share Posted December 27, 2007 I don't know what you mean... skip-networking does just that, effectively. Quote Link to comment https://forums.phpfreaks.com/topic/82663-start-mysql-process-on-localhost-only/#findComment-424087 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.