zoukankan      html  css  js  c++  java
  • phpmyadmin 设置密码

    例如 xampp 安装路径为 /opt/lampp/, copy 一份默认的配置
    cp /opt/lampp/phpmyadmin/libraries/config.default.php /opt/lampp/phpmyadmin/conf.inc.php
     
    修改 phpmyadmin/conf.inc.php
    /* Authentication type and info */
    $cfg['Servers'][$i]['auth_type'] = 'config';
    $cfg['Servers'][$i]['user'] = 'root';
    $cfg['Servers'][$i]['password'] = '';
    $cfg['Servers'][$i]['extension'] = 'mysqli';
    $cfg['Servers'][$i]['AllowNoPassword'] = true;
    $cfg['Lang'] = '';
    
    /* Bind to the localhost ipv4 address and tcp */
    $cfg['Servers'][$i]['host'] = '127.0.0.1';
    $cfg['Servers'][$i]['connect_type'] = 'tcp';
    

      

    /**
    * MySQL user
    *
    * @global string $cfg['Servers'][$i]['user']
    */
    $cfg['Servers'][$i]['user'] = 'root';
     
    /**
    * MySQL password (only needed with 'config' auth_type)
    *
    * @global string $cfg['Servers'][$i]['password']
    */
    $cfg['Servers'][$i]['password'] = 'root';
    

      

  • 相关阅读:
    Part 29 AngularJS intellisense in visual studio
    Part 28 AngularJS default route
    css动画效果之一
    css
    css.盒子阴影
    css字行标签谁写写
    简单的介绍a标签点击个成
    看css.1的启示。
    css.1
    总结:html
  • 原文地址:https://www.cnblogs.com/mingzhanghui/p/9480278.html
Copyright © 2011-2022 走看看