without password:
mysql> CREATE USER 'luna'@'localhost';
mysql> CREATE USER 'luna'@'localhost' IDENTIFIED BY 'maya'
If you want the user can access from anywhare of the client host, use
mysql> CREATE USER 'luna'@'%' IDENTIFIED BY 'maya';
GMgKe586q6suSQnyqZLlGCooeWM
No comments:
Post a Comment