ubuntu 安装mysql8 忽略大小写 作者: juoliii 时间: 2024-03-31 分类: 开发 apt-get install mysql-server mysqld --initialize --user=root --lower-case-table-names=1 cat /var/log/mysql/error.log 或 grep " A temporary password" /var/log/mysql/error.log ALTER USER 'root'@'localhost' IDENTIFIED BY '123456'; use mysql update user set host ='%' where user='root'; FLUSH PRIVILEGES; 标签: none
评论已关闭