admin avatar

how can to do login mysql not passwd?

🕛 by admin





mysql not passwd configing~

edit mysql config file :my.cnf。add code

1
2
3
4
5
[client]  

password="MySQLpasswd" 
 
user=MySQLusername
try terminal mysql login

1
mysql -uroot -p

errors?Correct order

1
mysql -uroot





写一条评论

Based on Golang + fastHTTP + sdb | go1.16.8 Processed in 1ms