ADJ World
asked on
Azure/Linux/Magento/MYsql
I need to get a basic install of Magento up - so I decided to use the Azure 'Magento CE v1.9.1.0 on Ubuntu 14.04LTS'.
When I browse to the IP of the VM Magento returns error
"There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 1489044056301"
When I look at error 1489044056301 in /var/www/magento/var/repor t$
It shows:
Stumbled at the first hurdle. Why is it not connected to MYSQL?
The readme file says to start mysql but it alreay appears to be started.
I thought I would simply need to start the VM.
Anyone with experience with this Azure Template/VM got a quick answer?
When I browse to the IP of the VM Magento returns error
"There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 1489044056301"
When I look at error 1489044056301 in /var/www/magento/var/repor
It shows:
[b]a:4:{i:0;s:107:"SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)";i:1;s:2280:"#0 [/b]
Stumbled at the first hurdle. Why is it not connected to MYSQL?
The readme file says to start mysql but it alreay appears to be started.
I thought I would simply need to start the VM.
Anyone with experience with this Azure Template/VM got a quick answer?
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Try to check if it's alive by:
$ps -A|grep mysql
then kill it if it is started
$sudo pkill mysql
check the daemon
$ps -A|grep mysqld
Kill the daemon
$sudo pkill mysqld
Now you can start all the stuff again by
$service mysql restart
mysql -u root -p