Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Error Message Connection to database failed
I am trying to install 113 to Xampp. After I log in I get this message
Error Message
The connection to the database failed:
Affected Elements
MySQL.OpenConnection();
The error occurred on or near: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES)
I looked at the Xampp mysql user and password settings and found:
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
// with 'config' auth_type)
My vanilla data base settings are as follows:
<?php
// Database Configuration Settings
$Configuration['DATABASE_HOST'] = 'localhost';
$Configuration['DATABASE_NAME'] = 'joomla';
$Configuration['DATABASE_USER'] = 'root';
$Configuration['DATABASE_CHARACTER_ENCODING'] = 'utf8';
$DatabaseTables['User'] = 'LUM_User';
?>
What am I doing wrong?
Thanks Larry
0
This discussion has been closed.
Comments
$Configuration['DATABASE_PASSWORD'] = '';
to conf/database.php