Keywords: LAMP/MAMP/WAMP - Microsoft Azure - Technical issue - Other
after i installed bitnami LAMP stack, i needed to downgrade to PHP 5.x instead of PHP 7 according to this article..
... that all worked, however i noticed the bitnami directory was replaced with this directory... /opt/lampstack-5.6.31-0/
and as a result i am getting all these weird error when trying to login to mysql from SSH...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run /mysqld/mysqld.sock' (2)
... phpmyadmin is wokring on localhost however, i think it has something to do with my environment variables not being updated?
/home/bitnami/bin:/home/bitnami/.local/bin:/opt/bitnami/apps/wordpress/bin:/opt/ bitnami/varnish/bin:/opt/bitnami/sqlite/bin:/opt/bitnami/php/bin:/opt/bitnami/my sql/bin:/opt/bitnami/apache2/bin:/opt/bitnami/common/bin:/usr/local/sbin:/usr/lo cal/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
.. not really sure where to go from here.