0

I'm installing Magento version 1.7.0.2 on an Ubuntu VM, hosted in Azure - I'm getting "Database connection error" in the Magento Installation Wizard.

I've installed PHP & MySQL as instructed here.
In mysql, I've granted access to a userx, which is the same one entered in the wizard.

Other threads suggested (and I tried):

  • Replacing "localhost" with "127.0.0.1" - didn't help
  • Installing "InnoDB" - Mysql says it is default

EDIT - These are the modules I've installed:
sudo apt-get install apache2
sudo apt-get install php5 libapache2-mod-php5
sudo apt-get install php5-mysql
sudo apt-get install php5-curl php5-mcrypt php5-gd php5-common
sudo apt-get install mysql-client mysql-server

1 Answer 1

1

What version of MySQL are you running? In 5.6 the have_innodb check is no longer working and could cause the connection failure. See https://github.com/magento/magento2/issues/202 for details.

4
  • I'm using 5.5.31-0ubuntu0.13.04.1. Commented Jul 7, 2013 at 12:29
  • Do you have the php-pdo and php-mysql loaded? Commented Jul 7, 2013 at 13:08
  • See my edit. Is php-pdo mandatory? Commented Jul 8, 2013 at 8:04
  • @seldary Yes, it is. See this for a full list of system requirements: magentocommerce.com/system-requirements Commented Jul 8, 2013 at 18:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.