After MySQL5 is installed, it cannot be started (Startservice is not supported). solution summary _ MySQL
Source: Internet
Author: User
After MySQL5 is installed, it cannot be started (Startservice is not supported). solution Summary: MySQL 5.1.48 or MySQL 5.5.8 installed on bitsCN.com. click Execute After configuration, but the Start service step cannot be performed. Check that the MySQL system service has been added but cannot be started. At this time, we can use the event viewer to see several MySQL errors in the program event:
Plugin 'innodb' registry as a storage engine failed.
Unknown/unsupported table type: INNODB
It turns out that the two versions of MySQL use the INNODB engine that supports transactions by default, open the my. ini file, and in the MySQL installation folder, such as c: program filesMySQL, you can see:
Default-storage-engine = INNODB
The solution is to change this setting
Default-storage-engine = MYISAM
Still use MyISAM as the default database engine, save the my. ini file, start the MySQL service manually, and then close the configuration window.
You can specify the database engine used to create the database, the database engine used to create the table, or change it after the database is created.
You can recall the configuration process again:
In the last step of installation, when you click Finish, you can select Configure the MySQL Server now, or directly run MySQL Server Instance Configuration Wizard from the Start menu to Configure the database, there are three options when selecting database usage:
1) Multifunctional Database
2) Transactional Database Only
3) No-Transactional Database Only
Default is the first option. if you select the second option, the default engine of the database is INNODB. the generated my. ini file contains default-storage-engine = INNODB. If you comment out -- skip-innodb in my. ini, it does not affect the database startup, but it only determines the transaction characteristics of the database.
In the last step, Processing configuration... my. after the ini file is started, the Start service will not work, that is, the MySQL service cannot be started, and the MySQL service name has been added to the system service.
If you select the third item in this step and do not use a database that supports events. the ini file contains default-storage-engine = MYISAM, so you are lucky to be able to smoothly configure and start the database. However, this will prevent you from using the INNODB engine (ERROR 1286 (42000): Unknown table engine 'innodb. the skip-innodb in ini is enabled. you can comment it out and try it again.
Author: mywaylife
If the problem persists, refer to the following method:
The service cannot be started when MySQL is installed)
1. we recommend that you use 360 to uninstall the installed mysql database, because 360 will view the relevant registration information and uninstall the database thoroughly.
2. check whether Port 3306 is occupied. if it is occupied, kill the process.
3. check whether there are mysql service processes in the service list.
4. make sure that the access permission to the installation directory is everyone. here, we recommend that you do not include the C drive installed in mysql, because xp sometimes restricts the access permission to folders for system security.
5. it is recommended to install the file in a clean folder. if the file is installed in the folder that was last installed, delete all files in the folder.
Mysql cannot run after mysql security settingsWe recommend that you reset the login username and password for running the mysql service, and enter the username and password you just modified in the service.
If the problem persists, you can view the error log to solve the problem:
The mysql error log is located in the mysql installation directory with the extension. copy an err file and open it by using Notepad or other tools. if The err log is too large, we recommend that you do not use notepad. you can use editplus to open bitsCN.com
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service