Because of work needs, we need to follow these three things. Because MySQL 4 is used in the old system, MySQL 4.1 has more features such as foreign keys, and mysql5 has more stored procedures and so on, so we try to co-exist on a single machine. In fact, it is very simple. The installation packages for MySQL 4.1 and MySQL 5 are already very automated, but you must set different ports. For example, MySQL 4 uses 3306, while MySQL 4 does. 1. I used 3308, and mysql5 used 3309. During installation, all of them were installed as Windows Services.
We recommend phpMyAdmin for management pull, but this time it is troublesome to create two more directories, one for MySQL 4.1 and the other for MySQL 5, phpmyadmin41 respectively, phpmyadmin5. Make sure to change the configuration in. php.
$ Cfg ['servers'] [$ I] ['Port'] = '000000'; the corresponding port is used here.
Note that both MySQL 4.1 and MySQL 5 have changed the authentication method, because MySQL 4.1 and MySQL 5 are connected under DOS, respectively,
And then modify it in this way.
Mysql> Update mysql. User SET Password = old_password ('Newpwd')-> Where host ='Some_hostAnd user ='Some_user'; Mysql> flush privileges; then IE is used, for example, http: // localhost: 8081/phpmyadmin4, http: // localhost: 8081/phpmyadmin41,
Http: // localhost: 8081/phpmyadmin5, you can easily manage these three MySQL databases.