查看数据库密码
cat /var/log/mysqld.log |grep password
修改数据库密码
alter user ‘root’@‘localhost’ identified with mysql_native_password by ‘新密码’;
linux查看数据库密码命令
最新推荐文章于 2024-07-22 02:47:47 发布
查看数据库密码
cat /var/log/mysqld.log |grep password
修改数据库密码
alter user ‘root’@‘localhost’ identified with mysql_native_password by ‘新密码’;