Giter VIP home page Giter VIP logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
[deleted comment]

from webvulscan.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.