MySQL Compression pack installation method

Source: Internet
Author: User

From the official website https://dev.mysql.com/downloads/mysql/Download Mysql-5.6.31-winx64.zip, unzip it, the next installation is to install the MySQL database by command. (The version of P.S. 5.7 will be problematic, preferably a 5.6 version)

(1) Mysql-5.6.31-winx64.zip unzip to E:\JavaWebDeveloper\ file, open command prompt to run as Administrator, CD to E:\JavaWebDeveloper\ Mysql-5.6.31-winx64\bin under

The command is: cd/d E:\JavaWebDeveloper\mysql-5.6.31-winx64\bin

(2) Installing MySQL

Mysqld install, the MySQL installation succeeds after running the command.

(3) Start the MySQL service.

net start MySQL will start the MySQL service. It is worth noting that MySQL is installed with the command under the default service name MySQL under Windows system, the default password is empty.

(4) Configuring environment variables

1) Create a new mysql_home variable and configure the value to: E:\JavaWebDeveloper\mysql-5.6.31-winx64

Mysql_home:e:\javawebdeveloper\mysql-5.6.31-winx64

2) Edit the path system variable and add%mysql_home%\bin to the PATH variable. Configure the PATH environment variable, or do not create a new mysql_home variable, but directly configure the bin under the MySQL installation directory under the PATH variable,

Path:%mysql_home%\bin

(5) Enter MySQL

Mysql-u root-p, the password defaults to empty. displaying "mysql>" means entering MySQL and can perform various operations on the database with T-SQL statements. Database can also be managed with graphical management tools

This method does not install MySQL Workbench after successful installation, and it needs to download and install itself.

MySQL Compression pack installation method

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.