ubuntu mysql 默认密码
cd /etc/mysql
sudo ccat debian.cnf
用户下面的用户名密码登录然后进行密码修改
进入mysql控制台执行下面命令:
show databases;
use mysql;
update user set
authentication_string=PASSWORD("自定义密码") where user='root';
update user set
plugin="mysql_native_password";
flush privileges;