windows下mysql的安装到使用
windows下安装mysql1,下载解压mysql压缩包到指定目录 按照顺序也没添加my.ini文件 使用其他机器连接not allowed to connect to this MySQL server错误1,在安装Mysql数据库的主机上登录root用户: use mysq; select host from user where user=‘root‘; 可以看到当前主机配置信息为localhost. 使用Navicat连接时报错信息:mysql 8 plugin caching_sha2_password could not be loaded原因,认证方面问题,使用root登录,执行: alter user ‘root‘@‘%‘ identified by ‘[email?protected]‘ password expire never; alter user ‘root‘@‘%‘ identified with mysql_native_password by ‘[email?protected]‘; flush privileges; alter user ‘root‘@‘%‘ identified by ‘[email?protected]‘; 官方说明:https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- Windows下安装Memcached的步骤说明
- 窗口 – mingw-w64安装程序中的选项的含义
- Windows事件日志中显示的时区是什么?从另一台机器查看保存
- .net – 无法从Windows Service连接到SQL LocalDB,WPF应用程
- 为什么uint8_t和uint16_t的格式说明符相同(%u)?
- Windows下svn import(将网站文件导入仓库)的方法
- 如何在Windows上的Docker中运行Tensorflow运行python脚本?
- windows – 使用DHCP时未注册的反向DNS记录
- 如何从Host(Windows)访问VirtualBox中的Oracle DB
- 如何在Windows 10上安装pyYAML