【Node】MySQL Community download and installation configuration, and the problems that arise Starting the server

1. mysql community installation


1. Description of preposition

  1. mysql community The community version of mysql, which includes mysql server and mysql workbench.
  2. Environment: Just install the mysql community on the windows system. MacBook users install mysql workbench first, and then install mysql server.
  3. mysql server and mysql workbench, the function of mysql server: data storage service. mysql workbench role: visual management mysql management tool.
  4. Download address: https://dev.mysql.com/downloads/mysql/ Choose the version you need
  5. Install according to the sequence shown in the figure.

2. Installation steps

insert image description hereinsert image description hereinsert image description hereinsert image description hereinsert image description hereinsert image description herePrecautions:

In the previous steps, if the installation fails, or the installation stops midway, you must delete the installed files, otherwise the installation will fail. Today I wanted to take a screenshot during the installation, and then took a step back. When I installed it again, the installation was still unsuccessful. After restarting the computer, the installation still failed. After uninstalling the installation file, the installation can be performed.
insert image description hereinsert image description hereSet a password, repeat once:
insert image description hereinsert image description here

2. Starting the server is abnormal


1. Starting the server is abnormal

  1. This abnormal error cannot be skipped directly, it can only be executed by Execute, but it is this error again. Either Back returns, or Cancel cancels.
  2. I tried a lot of solutions, but I still get an error in this position.
  3. starting the server: start the server.
    insert image description here

2. Starting the server analysis

  1. Reason 1: It is because the Navicat for MySQL database was installed before.
  2. Reason 2: The phpstydy panel is installed to inherit the environment.

Description of the problem: My approach is to uninstall all the Navicat for MySQL database and phpstudy inheritance environment here. However, during the installation, there was still starting the serveran abnormal error of ** **. In fact, at this point, the mysql community has been installed, and the next step is to save the previous configuration items, but the error of server startup is reported, so the previous configuration cannot be saved.

3. Starting the server processing 1

I originally thought that I would reinstall and overwrite without uninstalling, but it resulted in some other problems, and I couldn't move forward.

Step 1: Uninstall the installed mysql community:

  1. Find the installed mysql installer Community, click into it.
    insert image description here2. Click Remove to remove all installations.
    insert image description here
    Step 2: Find the installation folder, delete it, and delete the relevant files in the C drive.

  2. C:\Program Files\MySQL stores 32-bit files.

  3. C:\Program Files (x86)\MySQL, where 64-bit files are stored, should also be deleted.

Step 3: Delete the mysql registration list:

  1. Win+R, enter regedit to run, enter the registry editor, press the path in the figure, find MySQL and delete the MySQL registry information .
    insert image description here
    Step 4: Reinstall again.

4. Starting the server processing 2

This method is very speechless. It feels like a hole has been filled with great difficulty, and another hole has been dug.

[External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-e3nZEt0s-1678797626049) (D:\Desktop\New Folder\16.png)]

Note: This account is checked before this position. Then change to the local system account, and check Allow the service to interact with the desktop. After the change, no error will be reported, and the exception of starting the server is indeed gone. I originally thought that I would change it back after the installation was complete and change it to this account, but what happened? I just can’t change it back. After the change, apply and then go back to the local system account option. It will still report an error when it is turned on for the first time every day, but it does not affect the use. Fortunately, it has not caused serious problems.
insert image description here

3. Continue with the following installation


insert image description hereinsert image description here

1. Connection test

insert image description here

2. Complete the installation

insert image description here

Guess you like

Origin blog.csdn.net/YBJ2022/article/details/129539703