in mysql database
-
access table
use mysql;
-
Enable permissions
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '122333' WITH GRANT OPTION;
- Among them, 122333 is the password of root
- refresh
flush privileges;
in mysql database
access tableuse mysql;
Enable permissionsGRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '122333' WITH GRANT OPTION;
flush privileges;