Jump to content
  • 0

[Help]MySql Connection limited


Question

Posted

any know how to limited connection to sql server ?

i mean only from my pc to can be connect to DB  if any other try to connect to my DB to be not allowed

6 answers to this question

Recommended Posts

  • 0
Posted

Try creating a user binded to specific IP:

CREATE USER 'Bobi'@'YOUR_FIXED_IP' IDENTIFIED BY 'some_pass';
GRANT ALL PRIVILEGES ON *.* TO 'Bobi'@'YOUR_FIXED_IP' WITH GRANT OPTION;

  • 0
Posted

Try creating a user binded to specific IP:

CREATE USER 'Bobi'@'YOUR_FIXED_IP' IDENTIFIED BY 'some_pass';
GRANT ALL PRIVILEGES ON *.* TO 'Bobi'@'YOUR_FIXED_IP' WITH GRANT OPTION;

can u give me more info how to do that because i never have work with mysql

  • 0
Posted

Try creating a user binded to specific IP:

CREATE USER 'Bobi'@'YOUR_FIXED_IP' IDENTIFIED BY 'some_pass';
GRANT ALL PRIVILEGES ON *.* TO 'Bobi'@'YOUR_FIXED_IP' WITH GRANT OPTION;

 

Also firewall exception for his IP.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...