MySQL installation----ZIP (compressed package version)

Source: Internet
Author: User

First, install the ZIP version Download

Mysql-5.5.27-win32.zip (according to the system to download the corresponding)

Unzip

Unzip the file in a directory that does not contain Chinese and contains no spaces

Configuration

under [mysqld] in the My.ini file, Add the following:

[Mysqld]

Basedir=d:\\java\\mysql-5.5.27-win32

Datadir=d:\\java\\mysql-5.5.27-win32\\data

Note: This step does not need to be set after mysql5.5.21

start the MySQL server

Startup Success First time

The required files are created in the/data directory The first time you start

second time

setting up MYSQL as a window service

Add to

removed from

manual operation (Learn) Create

SC create MySQL binpath= "D:\java\mysql-5.5.27-win32\bin\mysqld mysql" displayname= "mysqlxx" start= Auto

Delete

SC Delete MySQL

Start

net start MySQL

Close

net stop MySQL

MySQL installation----ZIP (compressed package version)

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.