Mysql-5.5.58-win32 No setup.exe installation to the Windows XP solution

Source: Internet
Author: User

01. Extract the Mysql-5.5.58-win32.zip to the custom D:\mysql-5.5.58-win32

02. My Computer--attribute--advanced--environment variable--system variable--new system environment variable
Variable name: mysql_home
Variable Value: D:\mysql-5.5.58-win32
03. Add to the original system environment variable Path
;%mysql_home%\bin
04.cmd--into the D:\mysql-5.5.58-win32\bin directory-Enter the service installation command:

Mysqld Install MySQL--defaults-file= "D:\mysql-5.5.58-win32\my-small.ini"

My-small.ini This file may appear differently with the version name
 
after a successful installation, the Service successfully installed is displayed.
Service Uninstall command: mysqld remove MySQL--defaults-file= "D:\mysql-5.6.17-W64\my-default.ini"
05. Start the MySQL service:
Method 1:
cmd--into the D:\mysql-5.5.58-win32\bin directory--Enter the start service command:
   
net start MySQL
Method 2:
win7--Control Panel--System and security--management tools--Service--mysql--double-click-Start


Note: cmd that you want to run as an administrator during installation can be installed correctly and run CMD in an administrator manner:
go to C:/windows/system32 find Cmd.exe and then right-click "Run as Administrator" to get CMD Run as Administrator

After installing MySQL after the system installed MySQL path or version changes, resulting in the service can not start, the workaround is as follows

First step: Stop service MySQL

Step Two: (console: Run->regedit), according to the path hkey_local_machine\system\currentcontrolset\services\, find the service you want to change the path of MySQL, You can also use the search function in the registry to find the path you want to modify.

Here you can see the path to the MySQL executable file "

We can write the new path in, and mine is "D:\mysql-5.5.58-win32\mysql\bin\mysqld" –defaults-file= "D:\mysql-5.5.58-win32\mysql\ My-small.ini "MySQL

Then go to the service to find the MySQL service, start MySQL, solve!

Mysql-5.5.58-win32 No setup.exe installation to the Windows XP solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.