Today, because of a machine problem, a system is re-installed, and many development environments need to be reconfigured after reloading. Therefore encountered mariadb of the problem of re-installation. Because many of the previous data files exist, you do not want to reload the new, ready to enable the previous service directly to see if it succeeds.
In the MARIADB data inside find My.ini file opened, found that the configuration is in.
Then find the location of the mariadb in CMD and then under the Bin folder.
Input:
Mysqld-install MySQL--defaults-file=d:xxxx here is where the My.ini file is located
The service is then prompted to install successfully
Then go to Windows Service Management and change the MySQL name service to boot and boot.
Fortunately, the MySQL service was successfully installed.
solutions that Windows reload systems cannot use later MARIADB