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';

  • 相关阅读:
    五一训练礼包 — B
    五一训练礼包—坐标问题
    单链表
    顺序表
    链表
    基础DP(3)
    基础DP(2)
    基础DP(1)
    分治法
    最小表示法
  • 原文地址:https://www.cnblogs.com/ims2007/p/4486818.html
Copyright © 2011-2022 走看看