摘要: 解决方法: Ubuntu linux下安装新版本mysql,安装时root密码是随机的,因此会出现上述错误。 1、进入Mysql sudo mysql 2、设置root密码 root 用户实际上使用 auth_socket 插件进行身份验证。 要将 root 帐户配置为使用密码进行身份验证,请运行以 阅读全文
posted @ 2022-04-29 20:51 楸壳 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 修改mysql 的人root密码时,一直提示语法错误。 我之前的语句是: set password for root@localhost = password('123'); 就会提示: You have an error in your SQL syntax; check the manual t 阅读全文
posted @ 2022-04-29 20:51 楸壳 阅读(502) 评论(0) 推荐(0) 编辑