Current time: 12-28-2024, 04:37 AM Hello There, Guest! (LoginRegister)


Post Reply 
MySQL Restricting access by hostname/IP?
Author Message
arpoodle Offline
Junior Member
*

Posts: 11
Joined: May 2010
Reputation: 0
Post: #1
MySQL Restricting access by hostname/IP?
I've set up MySQL to replicate from the server running ISPCP to my backup system in my local office.

To enable external access to MySQL, I've had to comment out the "bind-address = 127.0.0.1" setting, which means anyone can try and connect from anywhere now.

Obviously, MySQL has it's own hostname based authentication, but I'd much rather prevent any connections from any other host/IP other than my own local one.

Is there a way, within ISPCP to restrict access based on IP, or do I need to do it manually somehow?

tia

a
12-08-2010 08:43 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: MySQL Restricting access by hostname/IP?
You will need to do it on your own (probably using iptables).
12-09-2010 03:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #3
RE: MySQL Restricting access by hostname/IP?
You can restrict access to MySQL with MySQL-Onboard-Tools. You can change the user table with PMA and reload the permissions of MySQL.

Best Regards
Fluser
12-09-2010 06:16 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)