简体   繁体   中英

Add user and privileges and set password error

I have been tying to figure out why I cant add this user, I get the error msg. of bash: GRANT: command not found.

I've read other posts but cant seem to get past it, this is what I've been trying to run

GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;

ERROR:

bash: GRANT: command not found.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM