Mysql root 登陆问题
Tofloor
poster avatar
jinfeng
deepin
2018-12-12 14:10
Author
先是感谢deepin各位辛苦工作的人
我遇到一个问题,不知道是不是我的问题

安装mysql之后,用mysql_secure_installation更改root密码,并不能生效。
检查mysql.user表中authentication_string为空
手动修改mysql.user表中密码,authentication_string不为空,但是依然可以无密码登陆mysql
程序无法连接mysql, 用设置的root账号,但是如果用新建别的账号是可以的。

是什么安全设定吗?还是bug?
我在别的debian based linuxs上没遇到过这种问题。

一直很喜欢deepin希望越来越好
Reply Favorite View the author
All Replies
avatar
151******67
deepin
2018-12-12 17:15
#1
安的哪版? 5.7没出现问题,8.0的好像还是有一些莫名其妙的问题
话说不考虑换MariaDB吗
Reply View the author
avatar
weiweiwei
deepin
2018-12-12 17:22
#2
删除root账号然后重新建
Reply View the author
avatar
jinfeng
deepin
2019-01-07 12:44
#3
https://bbs.deepin.org/post/172287
安的哪版? 5.7没出现问题,8.0的好像还是有一些莫名其妙的问题
话说不考虑换MariaDB吗 ...

换了一样的问题
Reply View the author
avatar
jinfeng
deepin
2019-01-07 12:45
#4
https://bbs.deepin.org/post/172287
删除root账号然后重新建

感谢感谢
Reply View the author