As I try to connect to MySql using Cloud9 console I get Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
.
Is it possible to access MySql DB application for free accounts?
As I try to connect to MySql using Cloud9 console I get Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
.
Is it possible to access MySql DB application for free accounts?
Make sure mysql is actually running, by executing
echo -n "mysql is "; if ! ps -C mysqld > /dev/null; then echo -n "not "; fi; echo "running"
from the command prompt. If it is not running, start it using:
mysql-ctl start
When it runs, use following to connect:
mysql-ctl cli