我正在做一个项目,我一直在尝试使用MySQL而不是SQLite。因此,我下载了MySQL并尝试用mysql_secure_installation设置根密码,但是当我提交这两个密码时,会出现以下错误:
... Failed!user 'root'@'localhost' as the authentication method used doesn't store authentication data in the MySQL我一直试图在mysql中设
我刚刚在Google上设置了一个VM实例,并希望运行我使用的是Ubuntu18.04LTS的LAMP.The系统。在安装MySQL服务器和PHPmyadmin时,我没有问题来设置密码(在其他设置,如DigitalOcean上)。1698 - Access denied for user 'root'@'localhost'mysqli_