MySQL 5.7.18 zip file installation process

Source: Internet
Author: User
Tags mysql client

Install the latest mysql:5.7.18

1. Download path

https://dev.mysql.com/downloads/mysql/

There is an account login to download, no account: no thanks;just start my download  2. Unzip onto the specified disk
Author: D:\mysql5.7 3. Configure the environment variable mysql_home:d:\mysql5.7 add after path;%mysql_home%\bin 4. Add File My.ini filePut the following code in the My.ini file
[mysql]# set MySQL client default character set Default-character-set=utf8[mysqld] #设置3306端口port = 3306# Set the installation directory for MySQL basedir=d:\mysql5.7# Set the data storage directory for the MySQL database datadir=d:\mysql5.7\data# the maximum number of connections allowed max_connections=200# The character set used by the service side defaults to the 8-bit encoded latin1 character set character-set-server=utf8# the default storage engine that will be used when creating a new table Default-storage-engine=innodb
Dear Please note:Basedir and DataDir, please modify according to your actual installation directory
  To create an empty data folder, the file list is as follows:
5. Open Cmd.exe, you must run as Administrator 5.1 initialize the database mysqld--initialize--user=mysql--console Remember the assigned password:
5.2 Installation ServicesMysqld--install MySQL
5.3 Starting the servicenet start MySQL ============= Gorgeous split line ============ above steps can be installed successfully following other possible commands 5.4 Stop Servicenet stop MySQL5.5 Delete Service SC delete MySQL (executable if problem occurs) ============= Gorgeous split-line ============
6. Problems that may arise6.1 Msvcp120.dll lost installation Vcredist_x86.exe or Vcredist_x64.exe, depending on your system. 6.2 Other issues if you execute the SC delete mysql command, remember to clear all files under the Data folder. If the net start MySQL command is executed, it appears: ' The MySQL service is starting. The MySQL service could not be started. The service did not report any errors. ' To configure the environment variable or the environment variable configuration is wrong, please check carefully, dear.7. Modify the initialization passwordAfter logging in with the initial password, execute the following command
1 setpassword for[email protected]=password(‘你的密码‘);

  

MySQL 5.7.18 zip file installation process

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.