Comments (6)
SETTING UP THE DATABASE SCHEMA AND POPULATING DATA IN TABLES:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\sqli1\sql-connections\setup-db.php:29 Stack trace: #0 {main} thrown in C:\xampp\htdocs\sqli1\sql-connections\setup-db.php on line 29
unable to setup datbase in XAMMP gettinh this error someone help me with this issue .
from sqli-labs.
This issue seems to be unique to you because i tested it and it works fine. May be it is being affected because of the way how you copy it. Did u try cloning the repo using Git commands.
Generally this happens when the code in the file is not getting interpreted as intended. I am not a programer by heart but saw some issues with unbalanced HTML TAGS. updated the file, so you should not have any issue.
Else you can copy the SQL strings manually and paste them into mysql editor to get the database populated manually line by line.
from sqli-labs.
@januspatrick The above mentioned issue seems to exist on normal Ubuntu versions because I personally tried it on 2 different machines and end up with the above error state. Since the sqli-labs are optimized to work with Kali linux, it will be best if users can install Kali in virtual box and then you can do the same in kali after you start apache2 and mysql services (You have to do this manually since they will not be started by default when kali boots up.). After that if you don't like to work on virtual box (like me), you can set a host only adapter in virtual box configuration which will assign a particular ip address to your kali machine, something like 192.168.xx.xx.
Once this is done, you can access the sqli-labs from the host machine by going to 192.168.xx.xx/sqli-labs .
Here is an old tutorial I have written about setting up host only adapter in virtual box: http://goo.gl/wYrMS2
@Audi-1 I am not sure why it happens in Ubuntu varients (I am still not sure if it happens on every ubuntu varients but its happening for me and my friends machine) but I will take a detail look into it and will try to fix it.
Sqli-labs is an extremly wonderful job from your side ..
from sqli-labs.
I encountered with the same problem on Ubuntu16.04+php5.6.
And I guess it's about system code format. With the command 'locale', my format is UTF-8.
from sqli-labs.
SETTING UP THE DATABASE SCHEMA AND POPULATING DATA IN TABLES:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\sqli1\sql-connections\setup-db.php:29 Stack trace: #0 {main} thrown in C:\xampp\htdocs\sqli1\sql-connections\setup-db.php on line 29
unable to setup datbase in XAMMP gettinh this error someone help me with this issue .
from sqli-labs.
SETTING UP THE DATABASE SCHEMA AND POPULATING DATA IN TABLES:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\sqli1\sql-connections\setup-db.php:29 Stack trace: #0 {main} thrown in C:\xampp\htdocs\sqli1\sql-connections\setup-db.php on line 29unable to setup datbase in XAMMP gettinh this error someone help me with this issue .
are u find solution
from sqli-labs.
Related Issues (20)
- Error while setting up the database HOT 5
- Unable to connect to the database: challenges HOT 1
- Database is not setting up anyone please suggest something else to move forward HOT 2
- Why dulpicate error is shown in less-5 and 6, without any duplicate data's
- Should I define sql functions myself? HOT 1
- Here are your all solution's !!!!!!
- Unable to connect to the database: security HOT 3
- One website has the wrong title
- unable to connect to database : challenge in Sqli-labs HOT 1
- I’m getting this error when i click the first setup /reset Database for labs link or any other level links :( HOT 1
- 为什么less-1中报错注入 成了 id='1\' 也就是单引号别转义了 我该怎么办跪求(宽字节注入也不行) HOT 2
- Can you use Mysql 8 HOT 1
- Less-17
- Installing on Kali Linux 2020 HOT 4
- i have an issue on audi sqli labs basic level one ,i have inserted (id=1) (ID=1) parameter with value and i shows 404 error HOT 1
- License
- Lab doen't work, with unclear reason
- Docker Version
- 长期大量收WebShell,高价寻渗透大佬合作,有意者联系Telegram:@xxx9964
- The Lessons are not being executed.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqli-labs.