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

MYSQL installation process under Windows XP operating system_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-13 17:30:06
Original
1163 people have browsed it

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/
Copy after login

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
Copy after login

If everything goes well, it will prompt:

Server successfully installed.
Copy after login

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 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
Latest Issues
Can Windows be learned?
From 1970-01-01 08:00:00
0
0
0
Install PHP in windows environment
From 1970-01-01 08:00:00
0
0
0
zookeeper extension under windows
From 1970-01-01 08:00:00
0
0
0
Can I play vim happily on Windows?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template