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]
- # 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
- default-character-set=gbk
- # set character collation
- default-collation=gbk_chinese_ci
Save and save it as my. ini. Finally, Go to Start-> RUN cmd and enter
- c:\MySQL\bin\>c:\MySQL\bin\> MySQLd --install MySQL --defaults-file=C:\MySQL\my.ini
- 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.