Let your Windows support mysql4,mysql4.1,mysql5x_php skills at the same time

Source: Internet
Author: User
As a php+mysql (other database) programmer, you may need to test in different database versions of the environment in order to meet different requirements
But the normal installation mysql,windows system can only have one version of the MySQL database, so to change the port and system services in the service name on the OK
The order of installation is as follows:
1. Install mysql4.0.x because this version of the 4.1 and 5.X is not intelligent, you can choose to install the service name, so have to install 4.0.X first, you can use the reverse order
2. Install 4.1 or 5.X, not in sequence, because you can choose to install the service name
3. Download phpMyAdmin copy Three, change port separately
$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 allows you to use phpMyAdmin to manage different versions of MySQL.








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.