本文最后更新于 1763 天前,其中的信息可能已经有所发展或是发生改变。
MariaDB [mysql]> show grants for 'root'@'localhost';
输入命令
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED VIA mysql_native_password USING '*那一坨东西' WITH GRANT OPTION;
MariaDB [mysql]> show grants for 'root'@'localhost';
输入命令
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED VIA mysql_native_password USING '*那一坨东西' WITH GRANT OPTION;