Comments (7)
Hi,
Did you try passing in the port without the single quotes? e.g. $db = $db = new
mysqli('localhost','root','','webvulscan',3308);
Other than that, I am not sure what the problem is. Your best option would
probably be to capture the error code using mysqli_connect_errno() and check
what the error is.
Regards,
Dermot
Original comment by [email protected]
on 11 May 2013 at 4:48
from webvulscan.
Just did a bit of googling and found this on the mysqli API page on php.net:
"If $port is a string, such as '3306', mysqli::query() will not work, even
though mysqli_connect_errno() reports no error (value 0)!". Therefore, passing
the port in as an integer will hopefully resolve the issue.
Dermot
Original comment by [email protected]
on 11 May 2013 at 4:51
from webvulscan.
hello sir
i have an error accured please help me
There was a problem connecting to the database. Please contact the
administrator if problem persists
kindly email me
[email protected]
Original comment by [email protected]
on 31 Oct 2013 at 8:50
from webvulscan.
[deleted comment]
from webvulscan.
Hi,
Do you have the webvulscan database created in mysql?
Regards,
Dermot
Original comment by [email protected]
on 4 Nov 2013 at 9:29
from webvulscan.
yes sir i created but again tell me here step by step tahnk you
Original comment by [email protected]
on 8 Nov 2013 at 12:08
from webvulscan.
The following is from the ReadMe file included in the downloadable source:
Import the database named “webvulscan.sql”, which is contained in the
source code folder into your MySQL database.
The database credentials that the scanner is using are the “root” user with
no password. If you want to change this it can be edited in
“webvulscan_vx.xx/scanner/functions/databaseFunctions.php” in the
connectToDb() function. The second and third parameter passed into the mysqli
constructor are the username and password of a MySQL database user. e.g.
“root” and “”.
For whatever user you are using in the connectToDb() function, you must ensure
there is a corresponding database user in the database and they have sufficient
privileges to read/write from/to the webvulscan database.
Original comment by [email protected]
on 12 Nov 2013 at 10:36
from webvulscan.
Related Issues (20)
- Add automated/configurable session management for tested apps (e.g support for JSESSIONID, PHPSESSID, aspsessionid.*, asp.net_sessionid, etc) HOT 2
- Add scanner info on tests left out of total tests being run HOT 2
- Install& config notes fail to mention extension php_mysqli.dll required in php.ini HOT 2
- Multiple SQLi vulnerabilities HOT 3
- Multiple XSS vulnerabilities HOT 3
- System Hang HOT 1
- System Hang HOT 1
- webvulscan register HOT 3
- when is the next version coming out in which existing issues have been solved? HOT 1
- Start Scan HOT 2
- help
- How it Works?
- Major run-time error HOT 1
- slow HOT 1
- Form Authentication HOT 2
- Suggestion - Suggested urls to get more information to reslove the issues HOT 1
- when i replace phpCrawl to 0.8 has some problem HOT 1
- Scan Pending start scans problems HOT 1
- PDF's are not being generated. HOT 7
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 webvulscan.