Why can t MySQL start?

Updated on technology 2024-04-18
4 answers
  1. Anonymous users2024-02-07

    1. Right-click on my computer and click Manage.

    2. Click on Service and Application Management.

    3. Double-click the service.

    4. Find MySQL and right-click on Properties.

    5. Change the startup type to automatic.

    6. Click Apply, and then click OK.

    For general error handling, you should first take a look at the error log, mysql, which should generally be the name, under the data folder, to see what exactly the error is.

    If it really doesn't work, you change it back first, and you should see that there should be these backups in the installation directory of your mysql. ini file, if not, send me my configuration file to you

  2. Anonymous users2024-02-06

    You can set it to start automatically... 1. Right-click on the computer of wo and click on management 2. Click on service and application management 3. Double-click on service 4. Find mysql, right-click on properties 5. Change the startup type to automatic 6. Click on Apply, and then click OK.

    For general error handling, ni should first take a look at the error log, mysql, which should generally be the name, under the data folder, to see what exactly the error is.

    If it really doesn't work, ni change it back first, and ni should have these backups under the installation directory of nimysql. ini file, if not, it is okay to send wo configuration file to ni.

  3. Anonymous users2024-02-05

    1. First check whether the MySQL service has been installed, if not, you need to install the MySQL service.

    2. Then check whether the MySQL service is already in the system service list, if not, you need to manually add the MySQL service.

    3. Check whether the MySQL configuration file is correct, if not, you need to modify the configuration file.

    4. Check whether the status of the MySQL service in Windows Service Manager is in the "Running" state, if not, you need to start the MySQL service manually.

    Extension: If the preceding steps do not solve the problem, you can update the MySQL installation package or reinstall the MySQL service. If it still doesn't work, you can try to check if MySQL's database file is corrupted, if it does, you need to fix it.

  4. Anonymous users2024-02-04

    There are a number of reasons why a MySQL service might not start: it may be that the port is occupied; The wrong parameters may have been configured; It's also possible that there isn't an initial database, or there could be other reasons. Most of the causes can be solved by logging out of the old service, reloading the service, and then restarting it.

    You can also try the following:

    Device: Huawei laptop.

    System: win7.

    Software: File Sakura with Zen Touch settings.

    Version:. 1. Change the name of the configuration file in the directory to the bin directory. Spine ambush.

    2. Start the command line and switch the directory to the bin directory of the mysql installation directory.

    3. Next, run the command on the command line: mysqld --initialize --user=mysql --console.

    4. Note that the previous step will get a temporary password, which needs to be recorded, and will be used later.

    5. Next, enter mysqld --install in the command line in the console to install the service.

    6. After that, find "Services" in the task manager and start the MySQL service in it.

    7. After that, enter the command line mysql -uroot -p, and use the previous temporary password input to log in to the database successfully.

    8. Change the temporary password, set the password: mysqladmin -u user -p password password, pay attention to the values defined by user and password.

Related questions
4 answers2024-04-18

Troubleshooting. Remove the redo log file you are currently using, and then you can try to start the database, but it fails! >>>More

3 answers2024-04-18

Deleted and reinstalled, and deleted the hanging.

10 answers2024-04-18

There are several reasons why the car won't start: one. No oil. Two. Power. Three. No air intake. >>>More

14 answers2024-04-18

1. The battery is dead.

Sometimes when we wake up in the morning and find that the car does not start normally, it is likely that our trunk is not completely closed, and the trunk light is always on, causing the battery to run out. >>>More

16 answers2024-04-18

The speed of light is not superimposable, that is, the speed of light is constant, which is a basic postulate of Einstein's special theory of relativity. It means that in a vacuum, the speed of light is about 300,000 kilometers per second, which is always constant, independent of the speed of the luminaire, the speed of the measurer, or the speed of the device that measures the speed of light. At the same time, this also shows that in the universe, there is a maximum speed of information transmission, which is the speed of light, and when any object transmits information, no matter what method is used, the speed of transmitting information cannot be greater than the speed of light, it is a limit speed. >>>More