当前位置:网站首页>SQL注入测试工具之Sqli-labs下载安装重置数据库报错解决办法之一(#0{main}thrown in D:\Software\phpstudy_pro\WWW\sqli-labs-……)
SQL注入测试工具之Sqli-labs下载安装重置数据库报错解决办法之一(#0{main}thrown in D:\Software\phpstudy_pro\WWW\sqli-labs-……)
2022-07-04 07:35:00 【遗忘的迟来的风】
安装参考文章:SQL注入测试工具之Sqli-labs下载安装 - 知乎 (zhihu.com)
浏览器访问http://localhost/sqli-labs-master,点击"Setup/reset Database for labs"进行数据库配置时报错如下:

我这边报错的原因是小皮面板v8默认下载的是php7的版本,php高版本不再使用mysql_connect()来连接数据库,我们可以修改为php低版本,如php5的版本。 先下载一个php5的版本,然后修改小皮面板使用的php版本为php5,再卸载php7(也可以不卸载,只要配置数据库时使用的php为低版本的就行)。修改方法:网站->管理->php版本,然后选择低版本的php。

边栏推荐
- User login function: simple but difficult
- Oceanbase is the leader in the magic quadrant of China's database in 2021
- Advanced MySQL: Basics (5-8 Lectures)
- window上用.bat文件启动项目
- Boosting the Performance of Video Compression Artifact Reduction with Reference Frame Proposals and
- Master-slave replication principle of MySQL database
- tornado项目之路由装饰器
- What are the work contents of operation and maintenance engineers? Can you list it in detail?
- 果果带你写链表,小学生看了都说好
- 电脑通过Putty远程连接树莓派
猜你喜欢

Book list | as the technical support Party of the Winter Olympics, Alibaba cloud's technology is written in these books!

Zephyr 學習筆記2,Scheduling

大厂技术专家:架构设计中常用的思维模型

Go learning notes - constants

Improve the accuracy of 3D reconstruction of complex scenes | segmentation of UAV Remote Sensing Images Based on paddleseg

Technical experts from large factories: common thinking models in architecture design
![[thread pool]](/img/de/d19897bdcfd65026cfe2a23c41b8c0.jpg)
[thread pool]

Redis - detailed explanation of cache avalanche, cache penetration and cache breakdown

【Kubernetes系列】Kubernetes 上安装 KubeSphere

The number of patent applications in China has again surpassed that of the United States and Japan, ranking first in the world for 11 consecutive years
随机推荐
Enter the year, month, and determine the number of days
Project 1 household accounting software (goal + demand description + code explanation + basic fund and revenue and expenditure details record + realization of keyboard access)
博客停更声明
Implementation of ZABBIX agent active mode
The idea of implementing charts chart view in all swiftui versions (1.0-4.0) was born
rapidjson读写json文件
果果带你写链表,小学生看了都说好
【FreeRTOS】FreeRTOS學習筆記(7)— 手寫FreeRTOS雙向鏈錶/源碼分析
BibTex中参考文献种类
One of the general document service practice series
Comparison between applet framework and platform compilation
Data double write consistency between redis and MySQL
Two years ago, the United States was reluctant to sell chips, but now there are mountains of chips begging China for help
BUUCTF(3)
论文学习——基于极值点特征的时间序列相似性查询方法
Take you to master the formatter of visual studio code
MySQL 数据库 - 函数 约束 多表查询 事务
[Mori city] random talk on GIS data (I)
L1-028 judging prime number (10 points)
Adaptive spatiotemporal fusion of multi-target networks for compressed video perception enhancement