DVWA问题 2:Could not connect to the MySQL service.
来源:互联网 发布:php linux 编辑:程序博客网 时间:2024/05/27 14:14
问题描述:
进入DVWA初始化页面时,如图:
在点击下图中按钮 — Creat / Reset Database —后,出现下图文本方框内的错误提示:
Could not connect to the MySQL service.
Please check the config file.
问题分析与解决:
- 找到DVWA\config\ 目录下的config.inc.php 文件。
- 找到 : $_DVWA[ ‘db_password’ ] = ‘p@ssw0rd’;
- 将其改为:$_DVWA[ ‘db_password’ ] = ”;
这里的$_DVWA[ ‘db_password’ ] 设置的是MySQL root用户的密码(此处为空,直接把’p@ssw0rd’改为”就行了,即密码为空),再重新创建数据库即可
回到网页,点击按钮 — Creat / Reset Database —出现下图提示(横线以下部分),问题解决。
以上页面驻留几秒后,自动转到登录界面,大功告成:
PS:默认的用户名和密码为“admin/password”
阅读全文
1 0
- DVWA问题 2:Could not connect to the MySQL service.
- Could Not Connect To The Specified Instance - MySQL Error Number 2003 - (10061)问题
- Oozie配置mysql 时 Could not connect to the database:
- could not start the service mysql
- MySQL安装,could not start the service
- MySql could not start the service
- Could not start the service MySQL 解决方法
- MySql The service could not be started
- MySQL卸载重装问题(could not start the service mysql)
- python MySQLdb Could not to connect MySQL server
- webdriver之Can not connect to the Service chromedriver
- Can not connect to the Service chromedriver的解决方法
- svn错误问题处理could not connect to server
- SVN拒绝访问的问题 could not connect to server
- svn错误问题处理could not connect to server
- svn错误问题处理could not connect to server
- 安装mysql时 Could not start the service MySQL 解决方法
- Could not connect to the view server 运行问题补充的脚本 提出上面的错误,怎么解决呢
- 李洋疯狂C语言之冒泡排序法
- 关于MySQL,你了解多少?_01
- Apache下载与配置
- 洛谷P1089 津津的储蓄计划
- 输出estimateRigidTransform返回的矩阵
- DVWA问题 2:Could not connect to the MySQL service.
- log4j2 使用详解
- 自动装箱和自动拆箱的细节
- 二叉搜索树
- 关于电脑开机报88880005的解决方法
- python2.7下的urllib和urllib2
- 从零开始的RxJava2.0教程(四)在安卓中的应用
- QT——connect的正确写法
- 最完整的Mybatis Generator 配置文件详解