Activity Stream
48,167 MEMBERS
6849 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 7 of 7
  1.     
    #1
    Member

    Default 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


    Thanks
    tawy 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

  2.   Sponsored Links

  3.     
    #2
    Banned
    Website's:
    xsl.tel xsltel.com
    Hello,

    use firewall to drop all requests from other IPs and accept only from the IP of the server2.

    Highest Regards
    Mohammed H

  4.     
    #3
    Member
    but i want to bind this particular user to the server2 ip not the entire server connection


    Thanks

  5.     
    #4
    Moderator
    NewEraCracker's Avatar
    Do you have any control panel installed?
    Trusted: Dom, l0calh0st, 0ccul7, robert420
    Find all threads started by NewEraCracker

  6.     
    #5
    Member
    Quote Originally Posted by NewEraCracker View Post
    Do you have any control panel installed?

    Mysql server (Server1) is on windows server 2008 (no control panel)
    Website server (Server2) is on linux (directadmin)

  7.     
    #6
    Member
    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

  8.     
    #7
    Respected Member
    Very simple. Thanks for the update.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. User Group Manager DLE 9.3 Mysql Error
    By Devils in forum Technical Help Desk Support
    Replies: 8
    Last Post: 12th Nov 2011, 09:05 PM
  2. Replies: 2
    Last Post: 7th Sep 2011, 03:14 PM
  3. how to see which mysql user much resources?
    By yakamozz in forum Technical Help Desk Support
    Replies: 0
    Last Post: 24th Aug 2011, 06:06 PM
  4. Delete User And Threads Using Mysql
    By Dj Mad in forum Technical Help Desk Support
    Replies: 5
    Last Post: 8th Jul 2011, 06:16 AM
  5. How To Change MYSQL User Password?
    By desibreaker in forum Webmaster Discussion
    Replies: 2
    Last Post: 25th Mar 2010, 04:29 AM

Tags for this Thread

BE SOCIAL