MySQL installation-free configuration process

Source: Internet
Author: User

The following articles mainly introduce the actual operating scheme of MySQL installation-free configuration. If you are not familiar with this technology, the following articles will provide you with clear installation ideas. I hope you will be helpful in your future study or work.

The installation-free version is downloaded from the relevant website.

Decompress the package to c: \ MySQL to obtain any location of the package.

After decompression in the directory, find the my-huge.ini, my-large.ini, my-medium.ini configuration file (random one can, generally choose my-huge.ini)

Open for Configuration:

[MySQLd]

 
 
  1. # set basedir to your installation pathbasedir=c:/MySQL# 
    set datadir to the location of your data directorydatadir=c:/MySQL/data 

Set the MySQL character set, gbk or UTF-8, as needed # set character set

 
 
  1. default-character-set=gbk 
  2. # set character collation  
  3. default-collation=gbk_chinese_ci 

Save and save it as my. ini. Finally, Go to Start-> RUN cmd and enter

 
 
  1. c:\MySQL\bin\>c:\MySQL\bin\> MySQLd --install MySQL --defaults-file=C:\MySQL\my.ini  
  2. c:\MySQL\bin\> NET START MySQL 

It's OK. The default account is root. If the password is empty, test c: \ MySQL \ bin \> MySQL-u root-p requires that you enter a blank password and press ENTER welcome to the MySQL monitor. Tag: MySQL, no installation version.
 


The above content is an introduction to the configuration method of the free installation version of MySQL. I hope you will have some gains.

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.