MYSQL : Connect

CONNECT
mysql -h localhost -u root -p

ADD USER

grant all privileges on *.* to 'username'@'host or ip address' identified by 'your password';

With grant option
grant all privileges on *.* to 'username'@'host or ip address' identified by 'your password' with grant option;

DROP USER
DROP USER user;

0 comments: