Mysql installation command (no installation version) _ MySQL

Source: Internet
Author: User
Mysql installation command (without installation) bitsCN.com


Mysql installation command (installation-free version)

1. down load mysql-5.5.28-win32.zip

2. unzip it to a path such as d:/mysq/mysql-5.5.28-win32

3. copy the file my-huge.ini and rename it to my. ini

4. add the following content to the mysqld field of my. ini.

Basedir = D:/mysql/mysql-5.5.28-win32

Datadir = D:/mysql/mysql-5.5.28-win32/data

Character-set-server = utf8

5. add the content to the client Field

Default-character-set = utf8

6. start command line cmd as administrator, and unzip cd to mysql

Bin folder, run the following command mysqld-install. at this time, the mysql service has been installed.

If Install/Remove of the Service Denied is displayed! The prompt indicates that you have no administrator.

Permission. If Service successfully installed is displayed, the installation is successful.

7. run net start mysql to start the mysql service

BitsCN.com

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.