Mega Code Archive

 
Categories / MySQL / User Permission
 

Create a user named second with the password pa552 and grant all privileges when logging in from any host

GRANT ALL ON *.* TO second@'%' IDENTIFIED BY "pa552";