MySQL5 Green Edition windows installation experience summary

Source: Internet
Author: User
Tags win32 window

Do you have a headache for installing MySQL5 in green windows? If this is the case, the following articles will provide you with corresponding solutions. The following articles mainly describe how to install MySQL 5 Green Edition windows, the following is a detailed description of the relevant content.

1. Download MySQL

Ii. Installation Process

1. Decompress mysql-noinstall-5.0.45-win32.zip to a directory.

Assume MYSQL_HOME = D: \ Dev \ mysql-5.0.45

2. Compile the mysql running configuration file my. ini.

 
 
  1. my.ini   
  2. [mysqld]   

MySQL5; set the installation directory of mysql

 
 
  1. basedir=$MYSQL_HOME  

Set the data storage directory of the mysql database, which must be data or \ xxx \ data

 
 
  1. datadir=$MYSQL_HOME\data  

Set the character set of the mysql server

 
 
  1. default-character-set=utf8   
  2. [client]  

Set the character set of the mysql client

 
 
  1. default-character-set=gbk  

3. Install the mysql Service

Enter the directory E: \ myserver \ MS-DOS \ bin from the mysql-5.0.37-win32 window and run the following command:

 
 
  1. mysqld --install MySQL5 --defaults-file=:\Dev\mysql-5.0.45\my.ini  

4. Start the mysql database

In the above command window, enter the command: net start MySQL5

In this way, the mysql service is started.

5. delete a service

Run mysqld -- remove MySQL5.

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.