0

I installed Wordpress Packaged by Bitnami and made a website on it. It was working fine the whole month but now the website stopped working and when access any of the following

  • http://localhost/wordpress/
  • http://localhost/wordpress/wp-admin
  • http://localhost/wordpress/phpmyadmin

I get the following error "Error establishing a database connection"

Manger Tool > Manage Servers shows MariaDB Database Stopped, Apache Web Server Running

When try to Start MariaDB it doesn't start and I get the following:

Manger Tool > Server Events

Starting MariaDB Database... Exit code: 1 Stdout:

Stderr: Unknown error starting mysql

enter image description here

enter image description here

What's the cause and solution?

mysqld

enter image description here

Zobia Kanwal
  • 4,085
  • 4
  • 15
  • 38

1 Answers1

2

I would recommend you to check the mysqld log file regarding the errors you have, which are triggering it to not to run.

which is in /bitnami/wordpress-5.8.1-2/mariadb/data/mysqld.log

in this file you will find detailed information about the error.

UPDATE

After attaching the log file, I discovered that this issue is similar to this one How to fix Error: MySQL shutdown unexpectedly on Xampp due to Plugin 'Aria', and solution might be applied following the steps:

  1. Remove aria_log_control file from /bitnami/wordpress-5.8.1-2/mariadb/data/
  2. Start the service
Dmitriy
  • 48
  • 7