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

  

最新文章

  1. Python之路,day10-Python基础
  2. Yocto开发笔记之《U-boot启动内核流程》(QQ交流群:519230208)
  3. POJ 1061 青蛙的约会【扩展欧几里德】
  4. 转!Java关键字final、static使用总结
  5. 15. 3Sum
  6. 4、处理方法中获取请求参数、请求头、Cookie及原生的servlet API等
  7. HTML5 乱记
  8. iOS分类中通过runtime添加动态属性
  9. Windows下Apache+Django+mod_wsgi的static和media问题处理
  10. Sping--IOC概念
  11. 动态分配数组(new)和用随机数赋值(rand)
  12. SpringBoot自动装配源码解析
  13. java continue break 关键字 详解 区别 用法 标记 标签 使用 示例 联系
  14. CCF后感
  15. Spring Boot, Java Config - No mapping found for HTTP request with URI [/…] in DispatcherServlet with name 'dispatcherServlet'
  16. Linux文件系统3--打开文件
  17. python进制转换及变量
  18. Set和Map数据结构
  19. 老男孩linux实战培训初级班第二次课前考试题
  20. 问题-MethodAddress返回NIL?MethodAddress与published的关系?

热门文章

  1. noip 模拟 6
  2. Linux从头学08:Linux 是如何保护内核代码的?【从实模式到保护模式】
  3. React性能优化总结
  4. springboot与通用mapper的整合
  5. 【springcloud】API Gateway 的路由和过滤(Zuul--1)
  6. Best Cow Line
  7. JavaWeb学习总结—Session
  8. JAVA垃圾回收分代处理思想
  9. transient用法
  10. vue3.0入门(三)