Results 1 to 7 of 7
-
30th Aug 2011, 09:29 PM #1OPMember
Bind remote Mysql user to Ip
Hello,
lets say that i have 2 servers one that has a database and the other that has a website that connects to this database
i enabled remote Mysql connection to the database on server1 for a user
the problem is that the user can access the database from any ip
i want it to access the database only from the server2 ip which has the site
Thankstawy Reviewed by tawy on . Bind remote Mysql user to Ip Hello, lets say that i have 2 servers one that has a database and the other that has a website that connects to this database i enabled remote Mysql connection to the database on server1 for a user the problem is that the user can access the database from any ip i want it to access the database only from the server2 ip which has the site Rating: 5
-
30th Aug 2011, 09:42 PM #2BannedWebsite's:
xsl.tel xsltel.comHello,
use firewall to drop all requests from other IPs and accept only from the IP of the server2.
Highest Regards
Mohammed H
-
30th Aug 2011, 09:52 PM #3OPMember
but i want to bind this particular user to the server2 ip not the entire server connection
Thanks
-
30th Aug 2011, 10:06 PM #4
Do you have any control panel installed?
Trusted: Dom, l0calh0st, 0ccul7, robert420
Find all threads started by NewEraCracker
-
30th Aug 2011, 10:10 PM #5OPMember
-
30th Aug 2011, 10:52 PM #6OPMember
Nvm i found how to do it
on creating any database user there is 3 feilds
User:
Password:
Host:
by putting the ip of server2 in Host this binds this user to this ip thus it cannot be accessed from any other ip than provided
an easy way to do this is by using mysqlcc (Mysql control center) if you are using Windows server
Thanks
-
31st Aug 2011, 07:26 PM #7Respected Member
Very simple. Thanks for the update.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
User Group Manager DLE 9.3 Mysql Error
By Devils in forum Technical Help Desk SupportReplies: 8Last Post: 12th Nov 2011, 09:05 PM -
[DLE] Where does it keep MySQL connection details (user, pass, db) ?
By ThumperTM in forum DLEReplies: 2Last Post: 7th Sep 2011, 03:14 PM -
how to see which mysql user much resources?
By yakamozz in forum Technical Help Desk SupportReplies: 0Last Post: 24th Aug 2011, 06:06 PM -
Delete User And Threads Using Mysql
By Dj Mad in forum Technical Help Desk SupportReplies: 5Last Post: 8th Jul 2011, 06:16 AM -
How To Change MYSQL User Password?
By desibreaker in forum Webmaster DiscussionReplies: 2Last Post: 25th Mar 2010, 04:29 AM
themaCreator - create posts from...
Version 3.47 released. Open older version (or...