linux mysql 修改密碼

root用戶登錄不上解決方法: 修改mysql配置文件 vim /etc/my.cnf 添加skip-grant-tables 重啓mysql服務 service mysqld restart 直接輸入mysql進入shell窗口  查看mysql用戶表 select host,user from mysql.user; 新建root用戶 密碼爲123456 INSERT INTO mysql.u
相關文章
相關標籤/搜索