我正在做一个项目,我一直在尝试使用MySQL而不是SQLite。因此,我下载了MySQL并尝试用mysql_secure_installation设置根密码,但是当我提交这两个密码时,会出现以下错误:
... Failed!user 'root'@'localhost' as the authentication method used doesn't store authentication data in the MySQL我一直试
我对ubuntu很陌生,安装了MySQL使用rpm文件,并在尝试时使用sudo start mysql启动它。password testmysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL