MySQL download installation and environment configuration tutorial

MySQL download

Enter the official website https://www.mysql.com/

Click DOWNLOADS to enter the download page

chrome_UYA01jFZas

Free version Click MySQL Community (GPL) Downloads below »

chrome_DZQIkqZLqx

Click on MySQL Community Server

chrome_oQFAg3mNrG

Click Go to Download Page to enter the download page

chrome_JiDNUuD8xc

click download

chrome_2F1cKJpT9v

Click No thanks, just start my download. to start downloading

chrome_8JVlBlAOHv

If you need to install the historical version, click Archives in the picture

chrome_7y7TYza8Mf

Select the desired version and click Download

chrome_TO2AWiWVA6

MySQL installation

After selecting a custom installation, click Next

MySQLInstaller_CdOcBUY8l8

Click MySQL Service to expand the branch and select MySQL Service 8.0.32 - x64 Click the right arrow to import into the right box

MySQLInstaller_7BV4WBqqKt

Modify the installation path and data storage path

MySQLInstaller_0oriTnMkzi

MySQLInstaller_ZKwGqT15Nu

Just select yes

MySQLInstaller_mXvxDjHMf4

Select Execute

MySQLInstaller_2qXCzhFo6x

click next

MySQLInstaller_TsqQRvIap6

Just choose the first development mode

image-20230305214051740

Just choose the first one

MySQLInstaller_7HBEceKVaF

Set the password of the database root user and click Next when the setting is complete

MySQLInstaller_1Tyzwqs8te

This option is to enable or disable startup at startup. MySQL takes up less memory and can be set to startup at startup and click Next.

MySQLInstaller_RWpc02I4FS

Click next

MySQLInstaller_Dxg4mAtTlg

Click Execute to display all green ticks, indicating that the installation is complete

MySQLInstaller_dBLtaZYCNY

click finish

MySQLInstaller_hB5pJiLg96

Click Next

MySQLInstaller_8dlemDj3Yw

click finish

MySQLInstaller_KkxvR753Ju

At this point, MySQL is installed

Configure environment variables

Find the MySQL installation directory and copy the bin folder path

explorer_9IGd91wS2N

Open My Computer Properties, click Environment Variables

ApplicationFrameHost_DpLDrtCp4f

SystemPropertiesAdvanced_ruy1sFH4l0

Double-click the Path in the system variable

SystemPropertiesAdvanced_wrbLAlqyKj

Click New

SystemPropertiesAdvanced_r7t8EvUkZw

Paste the bin folder path under the MySQL installation path you just copied and click OK

image-20230305221039932

Keyboard Win + R input cmd open terminal input mysql --versionView MySQL installation version

explorer_fnnznSQkLa

WindowsTerminal_xqzOrsFZ2g

Guess you like

Origin blog.csdn.net/weixin_43472938/article/details/129352275