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