zoukankan      html  css  js  c++  java
  • mysql 远程访问权限设置

    grant all on theme.* to 'root'@'192.168.1.21 identified by '123456';

    grant select,update,insert,delete on theme.* to 'root'@'192.168.1.21 identified by '123456';

    flush privileges; 

    phpmyadmin 暴力连接

    ----------------------------------------------

    phpmyadmin下的config.inc.php配置改为:

    $cfg['Servers'][$i]['auth_type'] = 'config';
    $cfg['Servers'][$i]['host'] = '127.0.0.1';
    $cfg['Servers'][$i]['connect_type'] = 'tcp';
    $cfg['Servers'][$i]['compress'] = false;
    $cfg['Servers'][$i]['extension'] = 'mysql';
    $cfg['Servers'][$i]['AllowNoPassword'] = false;
    $cfg['Servers'][$i]['user'] = 'root';
    $cfg['Servers'][$i]['password'] = 'dfdfdgs';

  • 相关阅读:
    学习python第二天
    学习python第一天
    SQL操作
    JAR规范 JAR File Specification
    IDEA快捷键
    Fibonacci数列
    AnyHandler
    测试UDP
    Eclipse卡顿设置
    服务器初始化操作
  • 原文地址:https://www.cnblogs.com/ims2007/p/4486818.html
Copyright © 2011-2022 走看看