【报错】sqli-labs靶场搭建出现“Unable to connect to the database: security”

简介: 【报错】sqli-labs靶场搭建出现“Unable to connect to the database: security”

问题描述

搭建sqli-labs靶场时,在配置好PHP和mysql以及db-creds.inc配置文件后

初始界面可以运行,但点击关卡报错

image.png

提示连接不到数据库

Unable to connect to the database: security

image.png

解决方案:

1、数据库配置出错,先查看db-creds.inc配置文件中数据库密码是否正确

使用小皮的话,默认root

image.png

2、在靶场首页重新创建数据库

点击setup

image.png

然后出现该界面后,创建成功

image.png

再次打开靶场关卡

http://localhost/sqli-labs-php7-master/Less-1/

成功

image.png

目录
相关文章
|
3天前
|
SQL Java
flywa报错Detected resolved migration not applied to database: 20221103.10000
flywa报错Detected resolved migration not applied to database: 20221103.10000
15 2
|
3天前
|
关系型数据库 MySQL Java
flywa报错java.sql.SQLSyntaxErrorException: Unknown database ‘flyway‘
flywa报错java.sql.SQLSyntaxErrorException: Unknown database ‘flyway‘
15 1
|
3天前
|
SQL Java Maven
flywa报错Migration checksum mismatch for migration version 1.1 -> Applied to database : 1332862643 ->
flywa报错Migration checksum mismatch for migration version 1.1 -> Applied to database : 1332862643 ->
14 1
|
关系型数据库 MySQL 索引
【Database】排错:Mysql5.6报错Specified key was too long; max key length is 767 bytes
在某个实验系统部署的过程中,出现mysql报错,是特定版本的处理错误,在查阅官网文档时得到解决方案
1422 0
【Database】排错:Mysql5.6报错Specified key was too long; max key length is 767 bytes
|
4月前
|
SQL Oracle 关系型数据库
Connect to Autonomous Database Using Oracle Database Tools
Connect to Autonomous Database Using Oracle Database Tools
46 1
|
4月前
|
Oracle 关系型数据库 数据库
实时计算 Flink版操作报错合集之错误信息"ORA-65040: operation not allowed from within a pluggable database"如何解决
在使用实时计算Flink版过程中,可能会遇到各种错误,了解这些错误的原因及解决方法对于高效排错至关重要。针对具体问题,查看Flink的日志是关键,它们通常会提供更详细的错误信息和堆栈跟踪,有助于定位问题。此外,Flink社区文档和官方论坛也是寻求帮助的好去处。以下是一些常见的操作报错及其可能的原因与解决策略。
214 2
|
4月前
|
消息中间件 Oracle 关系型数据库
实时计算 Flink版操作报错合集之报错io.debezium.DebeziumException: The db history topic or its content is fully or partially missing. Please check database history topic configuration and re-execute the snapshot. 是什么原因
在使用实时计算Flink版过程中,可能会遇到各种错误,了解这些错误的原因及解决方法对于高效排错至关重要。针对具体问题,查看Flink的日志是关键,它们通常会提供更详细的错误信息和堆栈跟踪,有助于定位问题。此外,Flink社区文档和官方论坛也是寻求帮助的好去处。以下是一些常见的操作报错及其可能的原因与解决策略。
235 0
|
关系型数据库 MySQL 数据库
【报错】DVWA遇到Could not connect to the database service. Please check the config file. Database Error
【报错】DVWA遇到Could not connect to the database service. Please check the config file. Database Error
1062 0
|
XML 关系型数据库 MySQL
已解决Failed to connect mysql database,please check username and password,or mysql is version8? true
已解决Failed to connect mysql database,please check username and password,or mysql is version8? true
242 0
|
关系型数据库 MySQL
MySQL8.0.27安装过程中卡在Initializing Database中并报错
MySQL8.0.27安装过程中卡在Initializing Database中并报错
2755 0
MySQL8.0.27安装过程中卡在Initializing Database中并报错

热门文章

最新文章