Could you please let us know if running the commands below from your LAMP server console works?
sudo /opt/bitnami/ctlscript.sh restart mysql
mysql --user=root --password
- Connect using localhost address
mysql --user=root --password --host=127.0.0.1
- Connect using the machine IP address. Please, substitute the
IP_ADDRESS placeholder with your server value.
mysql --user=root --password --host=IP_ADDRESS
Let us know if it worked for you. In case it didn't, apart from telling us which command didn't work, please give us the output of the command below so we can check the content of the MySQL
my.cnf config file.