Home  >  Article  >  Backend Development  >  Let your WINDOWS support MYSQL4, MYSQL4.1, MYSQL5X_PHP tutorial at the same time

Let your WINDOWS support MYSQL4, MYSQL4.1, MYSQL5X_PHP tutorial at the same time

WBOY
WBOYOriginal
2016-07-21 15:59:24870browse

As a PHP+MYSQL (other database) programmer, you may need to test in different database version environments to meet different needs
But with a normal installation of MYSQL, only one version can exist in the Windows system MYSQL database, so you need to change the port and the service name in the system service.
The installation sequence is as follows:
1. Install MYSQL4.0.X first because this version does not have the intelligence of 4.1 and 5.X , you can choose the service name to install, so you have to install 4.0.X first, or you can use the reverse order
2. Install 4.1 or 5. >3. Download PHPMYADMIN and make three copies, and change the ports respectively
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port

My ports are:
MYSQL4.0.26 Port: 3304
MYSQL4.1.20 Port: 3305
MYSQL5.1.6 Default port: 3306

This way you can use PHPMYADMIN to manage different versions MYSQL


看原大图
看原大图
看原大图
看原大图
看原大图
看原大图
看原大图
看原大图

http://www.bkjia.com/PHPjc/317330.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/317330.htmlTechArticleAs a PHP+MYSQL (other database) programmer, you may need to Tested in different database version environments but installed MYSQL normally, windows system...
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