Ubuntu 安装 Mysql8 初始化 root 密码
安装
apt install mysql-server;
初始化
mysql_secure_installation
设置密码
set global validate_password_policy=LOW;
SET GLOBAL validate_password.length = 6;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';
本文来自博客园,作者:vx_guanchaoguo0,转载请注明原文链接:https://www.cnblogs.com/guanchaoguo/p/18430865