Home Database Mysql Tutorial Detailed graphic tutorial on installing mysql on windows10_MySQL

Detailed graphic tutorial on installing mysql on windows10_MySQL

Oct 09, 2016 am 08:33 AM
mysql win10 Install

Environment: windwos 10 (1511) 64bit, mysql 5.7.14

1. Download mysql

1. Open the official website of mysql in the browser http://www.mysql.com/

2. Go to "Downloads" at the top of the page

3. Open “Community(GPL) Downloads” at the bottom of the page

4. Find the download page "MySQL on Windows (Installer & Tools)" that we want to use on windows in the middle of the page

5. Select the first item "MySQL Installer"

6. Find the download entrance "Windows (x86,
32-bit), MSI Installer" at the bottom of the page, click the Download button to start the download, a total of 381.4M

Note: MSI format refers to the Windows installation program. After downloading, you can directly double-click to enter the installation wizard. It is different from the installation method of decompressing the file;

7. This page will ask you whether you are logged in and tell you what benefits you will get after logging in. We do not log in. Click the "No thanks, just start my download." button at the bottom of the page to enter the download page

8. Start downloading and wait for the download to complete (because the direct download speed is too slow, I later downloaded it using Thunder)

9. Download completed

2. Install mysql

1. Double-click the downloaded mysql installation file "mysql-installer-community-5.7.14.0.msi" to open the installation program. You need to wait a moment after opening

2. Select the installation type (according to personal needs)

3. I only need to install mysql server, so select the last item "Custom". After selecting Custom, the installation process on the left and the description text on the right will change, then click the "Next" button to continue

4. Here we need to select the mysql server we need from the installable products (Products) provided by the installer

We expand the first item "MySQL Servers" in Available Products and expand its sub-nodes in order until its terminal node. My operation is 64-bit, so I selected "MySQL Server 5.7.14 - X64"

Then click the green right arrow to move the current Product to the list that needs to be installed, then expand the "MySQL Server 5.7.14 - X64" item on the right and uncheck "Development Components" (because we only need to install mysql server) , then click the "Next" button to proceed to the next step

5. Click "Execute" to start the installation. During the installation process, the Progress of the installation will be displayed. After the installation is completed, the Status will display Complete. A green check will appear in front of the mysql icon, and then click the "Next" button. Enter the product configuration interface

6. Click the "Next" button to enter the configuration of MySQL Server

Select "Development Machine" for Config Type. Selecting this option will use smaller content to run our mysql server, which is sufficient for small software and learning. "Next"

Set the password of the database root account in Root Account Password. I filled in 123456, so the program reminded me that the password strength is weak. We need to remember this password and click "Next"

Here you can set the name of the mysql server and whether to start it at startup. I changed the name to "MySQLZzz1" and canceled the startup. No other changes were made. Click "Next"

Click "Next"

This interface applies the previously set configuration content to our mysql server, click "Execute" and wait for completion

Configuration is complete, click "Finish" to complete the configuration process

7. After the configuration is completed, we will return to the installation program, we click "Next" to continue

It prompts us that the installation is complete, click "Finish"

8. After clicking "Finish" in the previous step, the computer is so calm that people don't know what to do next! According to past experience in installing software, the computer should automatically start the newly installed software at this time. So I searched in the process and found no process similar to mysql, so let's go to the next step.

3. Configure mysql environment variables (not necessary)

Note: After configuring environment variables for mysql, we can run mysql in cmd (start, stop, etc.)

1. In the same way as the actual environment variable configuration, we open the environment variable configuration window (key combination win+Pause -> Change settings -> Select "Advanced" in the system properties -> Environment variables)

2. Select "path" in the system variable, enter the path of the bin folder in the mysql installation directory at the beginning of the path value: C:Program FilesMySQLMySQL Server 5.7bin, save and exit

Note: The default path for mysql server installation is: C:Program FilesMySQLMySQL Server 5.7

3. Test whether the configuration is successful: open cmd, enter "mysql -u root -p" and press Enter, then enter the password of the root account (123456) set during mysql installation. If it prompts "Welcome to the MySQL monitor.", explain the configuration. It worked.

4. Start mysql

Yes, we haven’t started our mysql yet! So how to start it?

(based on configured environment variables)

1. Run cmd as administrator and enter "net start mysqlzzz1" (MySQLZzz1 is the server name filled in when configuring mysql server. It can also be used in cmd without case sensitivity)

2. After prompting that the startup is successful, we can see the "mysqld.exe" process in the process of the task manager.

Attachment:

If you are prompted when executing the command: The service name is invalid. Please type NET HELPMSG 2185 for additional help.

Solution: Execute the mysqld -install command with administrator privileges in the mysql bin directory

Attached is the method to uninstall the mysql service.

1. Use net stop mysql as administrator to close the mysql service

2. Use administrator rights mysqld -remove to uninstall the mysql service

5. Test whether the installation is successful

We use MySQL management software (Navicat for MySQL) to conduct connection testing to ensure that mysql is ready to use:

1. Open Navicat for MySQL

2. Create a new connection and fill in the connection information:

Connection name: used to distinguish different connections, just name it yourself

Hostname: localhost

Port: 3306

Username: root

Password: 123456 (the password filled in when configuring mysql before)

3. Click the "Connection Test" button and a successful connection dialog box will pop up, indicating that the mysql server has been started

4. Next is the use of Navicat for MySQL software

Another:

We can also enter "net start mysqlzzz1" again in cmd. If it prompts "The requested service has been started.", it means that the mysql server has started normally;

At this point, the installation of mysql server on Windows 10 64-bit is complete.

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

System Restore prompts that you must enable system protection on this drive System Restore prompts that you must enable system protection on this drive Jun 19, 2024 pm 12:23 PM

The computer has a restore point, and when the system is restored, it prompts "You must enable system protection on this drive." This usually means that the system protection function is not turned on. System protection is a feature provided by the Windows operating system that can create system restore points to back up system files and settings. That way, if something goes wrong, you can revert to a previous state. When the system fails and you cannot enter the desktop to start it, you can only try the following method: Troubleshooting-Advanced Options-Command Prompt Command 1 netstartvssrstrui.exe/offline:C:\windows=active Command 2 cd%windir%\system32 \configrenSYSTEMsy

What should I do if win10 does not switch users? Win10 login interface does not have the option to switch users. Solution What should I do if win10 does not switch users? Win10 login interface does not have the option to switch users. Solution Jun 25, 2024 pm 05:21 PM

A problem that Windows 10 users may encounter is that they cannot find the switch user option on the login interface. So what should I do if there is no switch user option on the win10 login interface? Let this site give users a detailed explanation of the problem of not switching user options in the win10 login interface. Detailed solution to the problem of switching user options on the Win10 login interface: Check user account settings: First, make sure you have multiple user accounts on your computer and that these accounts are enabled. You can check and enable the account by following these steps: a. Press Win+I keys to open Settings and select "Accounts". b. Select "Family & Others" or &ld in the left navigation bar

Windows cannot start the Windows Audio service Error 0x80070005 Windows cannot start the Windows Audio service Error 0x80070005 Jun 19, 2024 pm 01:08 PM

The guy's computer appears: Windows cannot start the WindowsAudio service (located on the local computer). Error 0x8007005: Access denied. This situation is usually caused by user permissions. You can try the following methods to fix it. Method 1: Modify the registry to add permissions through batch processing, create a new text document on the desktop, save it as .bat, and right-click the administrator to go far. Echo==========================EchoProcessingRegistryPermission.Pleasewait...Echo================== ========subinacl/subkey

What to do if the Win10 Task Manager crashes? How to fix the Win10 Task Manager crash? What to do if the Win10 Task Manager crashes? How to fix the Win10 Task Manager crash? Jun 25, 2024 pm 04:31 PM

Hello everyone, have you ever encountered the situation where the Windows 10 Task Manager keeps crashing? This function helps us a lot, allowing us to quickly see all running tasks, which is very convenient to use, right? However, some friends said that they encountered this problem and didn’t know how to solve it, so let me share with you the specific solution! Solution to Win10 Task Manager crash 1. First, press and hold the "Win" + "R" keys on the keyboard to open Run, enter "regedit" and press the Enter key. 2. Expand the folders and find "HKEY_CURRENT_USERSoftwareMicros

Windows cannot access the specified device, path, or file Windows cannot access the specified device, path, or file Jun 18, 2024 pm 04:49 PM

A friend's computer has such a fault. When opening "This PC" and the C drive file, it will prompt "Explorer.EXE Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the project." Including folders, files, This computer, Recycle Bin, etc., double-clicking will pop up such a window, and right-clicking to open it is normal. This is caused by a system update. If you also encounter this situation, the editor below will teach you how to solve it. 1. Open the registry editor Win+R and enter regedit, or right-click the start menu to run and enter regedit; 2. Locate the registry "Computer\HKEY_CLASSES_ROOT\PackagedCom\ClassInd"

What should I do if my Win10 password does not meet the password policy requirements? What to do if my computer password does not meet the policy requirements? What should I do if my Win10 password does not meet the password policy requirements? What to do if my computer password does not meet the policy requirements? Jun 25, 2024 pm 04:59 PM

In the Windows 10 system, the password policy is a set of security rules to ensure that the passwords set by users meet certain strength and complexity requirements. If the system prompts that your password does not meet the password policy requirements, it usually means that your password does not meet the requirements set by Microsoft. standards for complexity, length, or character types, so how can this be avoided? Users can directly find the password policy under the local computer policy to perform operations. Let’s take a look below. Solutions that do not comply with password policy specifications: Change the password length: According to the password policy requirements, we can try to increase the length of the password, such as changing the original 6-digit password to 8-digit or longer. Add special characters: Password policies often require special characters such as @, #, $, etc. I

How to turn off the frosted glass translucency effect in win10 system? Introduction to closing methods How to turn off the frosted glass translucency effect in win10 system? Introduction to closing methods Jun 12, 2024 pm 07:47 PM

In the Win10 system, the frosted glass translucency effect is a visual special effect that is very beautiful and cool, but many users don’t know how to cancel it after setting it? Let’s take a look below! Method 1: Turn off the frosted glass translucency effect through system settings 1. First, click the "Start" button on the desktop, and then select "Settings". 2. In the settings window, select the "Personalization" option. 3. In the personalization options, select "Color". 4. In the color options, find the "Transparency Effect" item and turn it off. Method 2: Turn off the frosted glass translucency effect through the registry editor 1. First, press the Win+R key combination to open the run window. 2. Enter "regedit" in the run window and press Enter to open the registry editor.

What should I do if Win10 cannot turn on the mobile hotspot network? What should I do if Win10 cannot turn on the mobile hotspot switch? What should I do if Win10 cannot turn on the mobile hotspot network? What should I do if Win10 cannot turn on the mobile hotspot switch? Jun 26, 2024 am 12:33 AM

Mobile hotspots can help users quickly connect their devices to the Internet, but many users are asking what to do if Win10 cannot turn on the mobile hotspot switch? Let this site carefully introduce to users the solution to the problem that Win10 cannot turn on the mobile hotspot switch. Solution to the problem that Win10 cannot turn on the mobile hotspot switch 1. In the device manager, find the network adapter and display hidden hardware devices. 2. Find the disabled MicrosoftWi-FiDirectVirtualAdapter device and re-enable it. 3. Try turning on the mobile hotspot again and return to normal.

See all articles