mysql5.7 ubuntu20.04

https://www.hackerxone.com/2021/06/02/how-install-mysql-57-ubuntu-2004-lts/

 

mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' ;
Query OK, 0 rows affected, 1 warning (0.00 sec)

mysql> flush privileges;

 

delete from user where user='root' and host='localhost';

posted @ 2021-09-18 17:14  星回中道  阅读(45)  评论(0编辑  收藏  举报