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;

最新文章

  1. 【JVM】2、关于jdk7的MethodHandle类
  2. iOS开发中深入理解CADisplayLink和NSTimer
  3. MyEclipse9中的不伤眼修改、FreeMarker插件、JQuery提示插件、全屏(FullScreen)插件的安装
  4. STM32F0xx_ADC采集电压配置详细过程
  5. HTML网页插入图像
  6. [Javascript] Adding Shapes to Maps with Leaflet and GeoJSON
  7. 修改UISearchBar背景色
  8. hdu2457 Trie图+dp
  9. Gitclient使用
  10. JOptionPane的使用
  11. thinkphp使用foreach遍历的方法
  12. 巨幅SQL优化(SQL Tuning)——秒杀十几个小时不出结果的SQL
  13. 简单模拟 Spring
  14. 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
  15. C# WebAPI学习
  16. Asp.net Daily Build by MsBuild
  17. Hiero中versionscanner模块结构图
  18. js值类型与引用类型
  19. STM8的数据@near @tiny定义
  20. iOS- 关于AVAudioSession的使用——后台播放音乐

热门文章

  1. PAT Basic 1083
  2. Linux命令之---touch
  3. Codeforces 653G Move by Prime 组合数学
  4. Python虚拟机类机制之从class对象到instance对象(五)
  5. ECharts的x轴和y轴均使用数值类型
  6. 矩阵儿快速幂 - POJ 3233 矩阵力量系列
  7. 【Reverse Integer】cpp
  8. mybitis中对象字段与表中字段名称不匹配(复制)
  9. ALPHA(四)
  10. Python flask几个小问题