--- 1067 system error when installing MySQL in win732-Bit mode --- Problem and Solution

Source: Internet
Author: User

--- 1067 system error when installing MySQL in win732-Bit mode --- Problem and Solution

Every time you install a database, such a problem always occurs. Now record it for future reference ....

Download the decompressed-zip version. For installation configuration tutorial, refer to hongge notes article-MySQL-5.6.13 unzip version (zip version) Installation configuration tutorial

After decompression, create a my. ini file as the MySQL configuration file.

Enter the command mysqld-install in cmd.exe to prompt that the service is successfully installed!

However, if you enter net start mysql in cmd.exe, the following error always occurs: [mysql service cannot be started; System Error 1067] [This system error 1067 indicates that the system cannot find the file, the process cannot obtain the required files. The problem is my. ini], after reading a lot of information and trying the method, I finally solved the problem and MySQL service started successfully.

My. ini content is:

[Mysqld]

# Binding IPv4 and 3306 ports
Bind-address = 127.0.0.1
Port = 3306

# Set the installation directory of mysql

Basedir = D:/MySQL/mysql-5.6.21-win32/mysql-5.6.21-win32

# Set the directory for storing mysql database data
Datadir = D:/MySQL/mysql-5.6.21-win32/mysql-5.6.21-win32/Data [it must be the data folder in the decompressed folder. I initially set a custom folder, so it cannot be started successfully ...]

# Maximum number of connections allowed
Max_connections = 200

Related commands:

1) Enter net start mysql ---- check whether the MySQL service is started

2) Input mysqlshow --- to display the table in the database or database, or information about the column or index in the table.

3) Enter mysql-uroot-p --- to Enter MySQL. Because the default password for MySQL installation is empty, press Enter when "Enter password:" appears, "mysql>" indicates that MySQL has been successfully entered as the root user.

4) Enter mysqladmin-uroot-p password, replace <new password> with your custom password, and press Enter.The system will prompt you to enter the password, which actually refers to the original password. Because the original password is empty, you can press enter to complete the settings.

The installation process has been completed, and you will be able to complete the subsequent study experience ~~

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.