MySQL5.5.42 Install-free configuration (log)

Source: Internet
Author: User

configuration for MySQL under Windows

For example, download Windows (x86, 32-bit), ZIP Archive (official download page: http://dev.mysql.com/downloads/mysql/5.1.html#) with the MySQL 5.5 free install version Downloads)

Configuration steps:

1. Unzip the downloaded mysql-5.5.42-win32.zip such as: mine is extracted to the root directory of the D drive

2. Locate the My-small.ini configuration file under the installation folder, rename it to My.ini, open for editing, and add a line under [client] and [mysqld]: default-character-set = utf8

3. Open the Windows environment variable setting, create a new variable name mysql_home, the variable value is MYSQL extract directory path, here is D:\mysql-5.5.42-win32

4. Add the Path variable to the environment variable ;%mysql_home%\bin;

5. Install the MySQL service, open the Windows command prompt, execute the command: mysqld--install mysql--defaults-file= "D:\mysql-5.5.42-win32\my.ini"

(Note that the path must be the full path, responsible for starting MySQL will be reported 1053 error, in the online waste a great effort, just try to find a solution)

Tip "Service successfully installed." Indicate success;

Start, stop, and uninstall of MySQL service

Run at the Windows command prompt:

Startup: net start MySQL

STOP: net stop MySQL

Uninstall: SC Delete MySQL

MySQL5.5.42 Install-free configuration (log)

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.