Error establishing a database connection – with Debug Data
I had this same error. For me, this happened because I moved the datadir of my database. On centos – the default location of the datadir is /var/lib/mysql – and the default loc of the socket file is /var/lib/mysql/mysql.sock I moved the datadir to /datadir/mysql. The Mysql db server started fine and the ‘mysql’ command … Read more