解决mysql 远程链接问题
2024-10-21 11:32:17
grant all privileges on *.* to 'root'@'192.168.2.204' identified by '123456' with grant option;
flush privileges;
可直接用下面的,上面的执行之后,仅本机可以用ip进行链接,还是不能远程链接,下面的就ok了。
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION;
flush privileges;
最新文章
- 【JVM】2、关于jdk7的MethodHandle类
- iOS开发中深入理解CADisplayLink和NSTimer
- MyEclipse9中的不伤眼修改、FreeMarker插件、JQuery提示插件、全屏(FullScreen)插件的安装
- STM32F0xx_ADC采集电压配置详细过程
- HTML网页插入图像
- [Javascript] Adding Shapes to Maps with Leaflet and GeoJSON
- 修改UISearchBar背景色
- hdu2457 Trie图+dp
- Gitclient使用
- JOptionPane的使用
- thinkphp使用foreach遍历的方法
- 巨幅SQL优化(SQL Tuning)——秒杀十几个小时不出结果的SQL
- 简单模拟 Spring
- ae:org.apache.shiro.authc.AuthenticationException: Authentication token of type [class org.apache.shiro.authc.UsernamePasswordToken] could not be authenticated by any configured realms. Please ensure
- C# WebAPI学习
- Asp.net Daily Build by MsBuild
- Hiero中versionscanner模块结构图
- js值类型与引用类型
- STM8的数据@near @tiny定义
- iOS- 关于AVAudioSession的使用——后台播放音乐