Solve MySQL installation error: initializing database prompts an error when installing mysql
when we install MySQL database, we report an error in initializing database font> because MySQL has not been completely uninstalled before. We can solve it according to the following methods: font>
1. First stop the original MySQL service
-Right click my computer
– select “management”
– click “service”
– find MySQL
– right click to close the service
2. Enter the control panel to uninstall mysql
in the panel, right-click Mysql to uninstall, and then follow the steps prompted to uninstall font>
3. Go to MySQL installation directory and delete relevant files
generally, the database is on Disk C by default. Open it in the file browser, and then check the “hidden items” to open the following three files font>
– Program Files
– Program Files (x64)
– ProgramData
delete the MySQL directory under these three folders font>
4. Clean the registry and completely delete the MySQL service
Press and hold the windows key + r on the keyboard to open the command line, enter regedit to enter the registry
and find it in turn: font>
HKEY_ LOCAL_ MACHINE——SYSTEM——ControlSet001——services——eventlog——Application——MySQL
right click the MYSQL to delete it. If there are still the following directories: font>
HKEY_ LOCAL_ MACHINE——SYSTEM——ControlSet002——services——eventlog——Application——MySQL
you can also right-click to delete. If not, it will be ignored font>
5. Restart the system
Read More:
- An error was reported during MySQL 6.0 installation: start service failed
- When installing mysql, an error occurs when executing the installation command with the CMD window. Install / Remove of the Service denied
- An error is reported when kettle connects Oracle database and MySQL database
- After installing MySQL again under Linux, the solution of ‘MySQL module failed to start’ appears
- Question: cannot create windows service for mysql.error : 0 (install MySQL)
- How to solve MySQL error 1049 (42000): unknown database ‘database’
- MySQL installation error. Netframeword installation failed
- (error when importing database): MySQL 2006-mysql server has gone away
- Error in installing MySQL devel for CentOS MySQL
- Solve the problem of MySQL database report 1055 error
- django.core.exceptions . improveconfigured: error loading MySQL DB module. Django configuring MySQL database
- PHP connection to MySQL database error: call to undefined function MySQL_ connect()
- java.lang.ClassNotFoundException : com.mysql.jdbc . driver project cannot connect to database, exception, lack of MySQL driver
- Solve net start mysql, start MySQL service, prompt system error 5. Access denied.
- MySQL installation failed: dpkg: error processing package MySQL server (- – configure): dependency problem
- Pikachu vulnerability is installed in the shooting range, and an error is reported when connecting to the MySQL database
- An error is reported when the jeecg boot project connects to the MySQL database running on docker
- The MySQL service suddenly hangs up with the error message can’t connect to MySQL server on ‘localhost’ (10061)
- An error occurred when installing vs2017: failed to verify the signature of the installation program list
- Solution of connection error report in MySQL installation