Quote:
Originally Posted by Medo21
i made what u said,but it don't work,i want someone tell me how to make someone connect to my db ? and what this one should do? and ty arthur for ur guide
|
Code:
grant all privileges on *.* to 'username' @ 'ipaddress' identified by 'password';
This will give whatever person you put in full database access to do anything but add other people. They could potentially drop your whole database if they wanted to. So you should use a nice GUI like navicat and remove what you don't want them to have access to. On the other side, you could do:
Code:
grant usage on *.* to 'username' @ 'ipaddress' identified by 'password';
and then add only what you want them to have access to. The first option is usually easier.