Database connection error for Magento insatalling
Posted by: livebillal (180.211.197.---)
Date: April 20, 2014 10:14AM

WAMP server mod_rewrite is enabled. When I go to install Magento in my localhost then it shows the message "Database connection error." "Please make sure that mod_rewrite is enabled in Apache configuration." Is there any solution?
Also, I have been replaced code following below
app/code/core/Mage/Install/Model/Installer/Db/Mysql4.php
----------------------------------------------------------------------------------------------------
public function supportEngine()
{
$variables = $this->_getConnection()
->fetchPairs('SHOW VARIABLES');
return (!isset($variables['have_innodb']) || $variables['have_innodb'] != 'YES') ? false : true;
}
----------------------------------------------------------------------------------------------------
public function supportEngine()
{
$variables = $this->_getConnection()
->fetchPairs('SHOW ENGINES');
return (isset($variables['InnoDB']) && $variables['InnoDB'] != 'NO');
}
----------------------------------------------------------------------------------------------------

Options: ReplyQuote
Re: Database connection error for Magento insatalling
Posted by: RiggsFolly (---.as13285.net)
Date: April 21, 2014 10:31PM

This does not sound like a WAMPServer issue but more a magento issue.

See [www.magentocommerce.com]

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.