MySQL database download and installation tutorial

MySQL database download and installation tutorial



MySQL is a small database management system. Due to its small size, fast speed, and especially open source code, it is widely used in development. This article mainly introduces the MySQL database from download to installation and the use of command lines. Wait.

Tools/Materials

  • A Windows computer

method/step

  1. 1

    Search the MySQL official website on Baidu, enter the download page --> select Community Edition (Community) --> select MySQL Community Server, click the DOWNLOAD button --> Generally Available (GA) Releases to enter the MySQL download list option.


  2. 2

    In this article, we choose to download the installation version (MSI Installer) instead of the decompressed version (ZIP), choose Windows (x86, 64-bit), MSI Installer jumps to the download page, the download is that the Installer only has a 32-bit version, but it will be installed during installation. Install 32-bit and 64-bit at the same time, so there is no need to worry about the version, download it with confidence

  3. 3

    There are registration and login buttons on the download page, you can also choose not to log in (No thanks, just start my download), so we choose not to register and log in option, directly enter the download state, start the download, and the file after the download is complete is mysql-installer -community-5.7.19.0.msi, right-click to install.


  4. 4

    Right-click the downloaded file to install, and check I accept the license terms, as shown in the following figure. Then click Next to enter the selection installation page, you can choose to install all including the development environment, only install the server, only install the client, install all but not the development environment, and customize. This article only chooses to install Server Only, and then click Next.


    MySQL database download and installation tutorial
  5. 5

    Then enter the installation path page, you can modify the path to the directory you need, or you can not modify it. Then click next to select the default option to install the stand-alone version (Standalone), and click next.

    MySQL database download and installation tutorial
    MySQL database download and installation tutorial
  6. 6

    After the installation is complete, the configuration window will be prompted directly. You can select the default configuration when configuring the database. The default value of the port setting is 3306, and then set the Root user password. Please remember this password. Then Next set the user and service to start at boot, which is the default option, and then Next.

    MySQL database download and installation tutorial
    MySQL database download and installation tutorial
    MySQL database download and installation tutorial
  7. 7

    In the process of confirming the configuration, execute Execute. If there is a pop-up window, be sure to allow it, and click Finish after completion.

    MySQL database download and installation tutorial
    MySQL database download and installation tutorial
    END

Verify that the MySQL installation was successful

  1. You can find the MySQL command line tool in the Windows search box. You can right-click --> Pin it to the taskbar to facilitate the next search. After opening the window and entering the password correctly, an input mark such as mysql> will appear, indicating that the installation of mysql is successful.

    MySQL database download and installation tutorial
    MySQL database download and installation tutorial
    MySQL database download and installation tutorial
  2. Enter under the mysql> input tag: show databases; Note that there must be a semicolon, and press the Enter key, the default 4 databases of the database system will be displayed.

    MySQL database download and installation tutorial



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325527157&siteId=291194637