After reinstall mariadb, replace all DB files in folder “data” directly could cause this error and service “MariaDB” will never started.
- Check error log:
C:\Program Files\MariaDB 10.4\data\REX-PC.err
- Create an option file and put it in %WINDIR%/my.ini
[mysqld] innodb_force_recovery = 6
- Run command to start mariadb: (under folder bin)
- You should be able to connect to DB server now
- Export tables in standard way.
- Uninstall DB server
- Install DB server