MySQL official website and find the ZIP file. Tip: Some are installation files. There will be prompts during installation. We will not explain them here. 2. Unzip the file."/> MySQL official website and find the ZIP file. Tip: Some are installation files. There will be prompts during installation. We will not explain them here. 2. Unzip the file.">

Home  >  Article  >  Backend Development  >  MYSQL installation process under Windows XP operating system_PHP tutorial

MYSQL installation process under Windows XP operating system_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:30:061070browse

1. Download the installation file

Go to mysql.com/" target=_blank>MySQL official websiteFind the ZIP file

Tips: Some are installation files, there will be prompts during installation, we will not explain them here

2. Unzip the file and select the location

It is best to put it in the mysql folder of a certain drive, so that it is easier to find. Here we will extract the file to the mysql folder of the D drive.

3. Let Windows know where your MySQL is located

Create a my.ini file in the Windows home directory of the system disk with the following content:

[mysqld]<br>basedir=D:/mysql/<br>datadir=D:/mysql/data/

Then set the PATH environment variable. Add D:mysql in, so that you can use mysql directly the next time you enter command mode without first moving to the mysql/bin directory on the d drive.

4. Let the Windows service join MySQL

It means that MySQL can start automatically when windows starts

In command line (CMD) mode, first go to the mysql/bin directory on drive d, and then enter

mysqld-nt -install

If everything goes well, it will prompt:

Server successfully installed.

5. Restart the computer and the installation is complete

After restarting, go to "Control Panel" - "Services" and see if the MySQL service is available and whether it is displayed as "Start".

If you don’t want MySQL to start directly every time you start the computer, you can change the automatic option to manual.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/509217.htmlTechArticle1. Download the installation file to mysql.com/" target=_blank> MySQL official website finds the ZIP file prompt: some It is an installation file. There will be a prompt during installation. We will not explain it here. 2. Unzip the file...
Statement:
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