WD Community

Error Mysql/MariaDB root login reset to start with MySQL/MariaDB

OK, here is the final solution.

The database was corrupted and the WD Support recommended to remove the MySQL Database .

  1. Save your data (just a recommendation from my side…I waited and did buy an external HDD…what I always wanted , because it is strongly recommended)

2.Login via SSH as root on the Device
How to Access WD My Cloud Using SSH (Secure Shell)

  1. Remove the Database with SSH command:
    rm -rf /mnt/HD_a4/.@database@/*

  2. Switch the Network Database OFF and ON.

(I personally deinstallled phpmyadmin before I started.)
After reinstallation of PHPMYADMIN I could log in.

Note from WD Support:
MariaDB is not a supported 3rd party app on OS5 /what I thought it was…
So I will proceed with the native MySQL Server , which is up now.

Thanks to all , who provided hints for me.
Here and especially on Github.

Lions Go,
Joerg

Support for Western Digital Hard Drives | Western Digital

Still Need Help?

Reach out to Support for more assistance.

Sign in to Your Support Account

Get up-to-date information about your products.

Western Digital Business Portal

Unlock benefits and tools for your business such as enterprise support, pricing and rebate tools, marketing, loyalty, rewards, and more.