Mutillidae Install Producing Odd Database Errors


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Mutillidae Install Producing Odd Database Errors
# 1  
Old 03-29-2014
Debian Mutillidae Install Producing Odd Database Errors

Having some trouble installing Mutillidae on my Debian system. I downloaded the latest version from here and unzipped the file inside /var/www/html. I created a database for the web interface to use, granted permissions and tested I could log into it from the command-line. When I started it up I had one error that I resolved by adding the database creditials to /var/www/html/mutillidae/includes/config.inc. However, I'm still getting a 500 error and this is what I find corresponds to it in /var/log/apache2/error_log:

Code:
[Sat Mar 29 04:19:34.564661  2014] [:error] [pid 15476] [client 127.0.0.1:41702] PHP Warning:   mysqli::mysqli(): (28000/1045): 
Access denied for user  'user'@'localhost' (using password: NO) in  /var/www/html/mutillidae/classes/MySQLHandler.php on line 213

[Sat  Mar 29 04:19:34.564965 2014] [:error] [pid 15476] [client  127.0.0.1:41702] PHP Warning:  mysqli::mysqli(): (28000/1045):
Access  denied for user 'user'@'localhost' (using password: YES) in  /var/www/html/mutillidae/classes/MySQLHandler.php on line 219

Both lines 213 and 219 of /var/www/html/mutillidae/classes/MySQLHandler.php contain this code to login into the database:

Code:
MySQLConnection = new mysqli($HOSTNAME, $USERNAME, $PASSWORD);

What's odd is that the first error says using password "NO" and the second one says "YES". Not sure if anyone is familiar with this software, but any suggestions appreciated.
# 2  
Old 03-30-2014
Fixed. There were some constants at the top of that file that were overwriting with a blank password. Thus I had the different "YES" and "NO" replies. Changed that part and it worked. Someone can mark this solved.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Yum install command -errors

i having this error message when installing a package using yum on red hat 7.2 Please see attachment (21 Replies)
Discussion started by: DOkuwa
21 Replies

2. SCO

SCO 6.0 new install checksum errors

Updating from an old server with 5.01 to a new server with Openserver 6.0 After getting the hardware sorted out ( raid - too bad its not a bug killer ) I installed OS 6.0 from the distribution cd . All went well . Before loading MP4 I ran the software manager to verify the software and verify... (5 Replies)
Discussion started by: bigbug
5 Replies

3. OS X (Apple)

FFMPEG install on 10.4.11, errors compiling and also using port

i've got an older white macbook running 10.4.11. about 5 years old i think. trying to install ffmpeg in 2 different ways. having errors on both. first tried this one: ffmpeg installation on Mac OSX and i got this error when i got down to "make" on the ffmpeg itself make(350) malloc: ***... (1 Reply)
Discussion started by: danpaluska
1 Replies

4. Solaris

Is possbile to install Oracle database 10g on Solaris 11 Express ?

Today I finally tuned my Solaris 11 express so now works better :D I want to install some relational database on that machine and learn for my future carrier. I downloaded Oracle database 10g for Solaris x86 and tried to install it but my system didn't passed system requirements, installer... (0 Replies)
Discussion started by: solaris_user
0 Replies

5. UNIX and Linux Applications

How to install IBM db2 database server in cygwin ??

Hi folks, I am looking for a clue to install db2 in cygwin.....kindly help.;) (0 Replies)
Discussion started by: frozensmilz
0 Replies

6. AIX

Install MySQL connector without local SQL database

Hello UNIX gurus, I need to install the mysql odbc connector with unixODBC on my AIX 5.3 machine. I have a mySQL database running on another server (Ubuntu 7.04). The SQL database works fine. The problem I am having is when trying to run ./configure for mysql-connector-odbc it seems to be looking... (1 Reply)
Discussion started by: raidzero
1 Replies

7. SuSE

Errors while trying to install software on SuSE 9.2 Pro

First off I try to install XTheater on SuSE 9.2 Pro I run the ./configure command and this is what I get chris@linux:~/Desktop/Xtheater-0.9.2> ./configure loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is... (25 Replies)
Discussion started by: CTroxtell21
25 Replies

8. Post Here to Contact Site Administrators and Moderators

Database Errors - Post Info Here to Help Debug - Thanks

Please post the 'Style" you are using and what activity you were doing if have received any database error recently. I'm not getting any errors, but they are in the log files. Thanks, Neo (0 Replies)
Discussion started by: Neo
0 Replies
Login or Register to Ask a Question