Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP Databases
PHP Databases Using PHP in conjunction with databases. PHP questions not specific to databases should be directed to one of the other PHP forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 15th, 2005, 10:16 PM
Authorized User
Join Date: Aug 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Two versions of MySQL on localhost at same time

Is there a conflict with having two versions of MySQL installed, 4.0.24 and 4.1.16?
MySQL seems to point to 4.0.24, which is what I want but I cannot get rid of 4.1.16 and would like to. I am downgrading to conform to my ISP's use of 4.0.24.

Thanks for any advice.

aka TwoNames
Old April 18th, 2005, 11:27 AM
Friend of Wrox
Join Date: Dec 2003
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts

Hey Don,

Is this linux || windoze?

My advice would be that 4.0.24 /might/ work, but it isn't a good idea to have both versions installed. I'm sure the people on the forum would be able to help you get rid of 4.1.16 : 0 )


Don't Stand on your head - you'll get footprints in your hair
Old April 21st, 2005, 10:52 AM
Authorized User
Join Date: Aug 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts

There were indeed severe problems with having two versions. The automatic MySQL start was not working and I could not start it from a command line. I use a Mac G5, unix based open source. I dumped the 4.1.16 but still could not access MySQL through PHP code. Then I dumped the 4.0.24 thus eliminating all MySQLs.

The problem began when I "upgraded" MySQL without shutting down and dumping the one installed. The newer version requested a CANCEL or UPGRADE, something that should not be done, at least with a Mac. Once I recognized this and did the above, the 4.0.24 then requested CANCEL or INSTALL! Voila! Everything began working fine. I adjusted the config.inc.php file and my PHP connect file to match username and password. Database comes up great with phpMyAdmin and the browsers all see it OK.

The Read Me Txt file that comes with a newer MySQL version pkg could stand a revision. There are instructions that tell you to do something, and after you've done it and continue reading, it says, "Before you do this, do . . ." Getting the cart before the horse seems to be in a lot of instructions.

Similar Threads
Thread Thread Starter Forum Replies Last Post
VS versions??? SKhna Javascript 1 February 4th, 2008 03:27 PM
Unable to read Time field value from MySQL DB spc C# 3 August 6th, 2007 01:33 PM
subtracting two time mysql fields in php fochu PHP Databases 0 September 13th, 2006 08:17 AM
Can't connect to mySql server using localhost RobinR MySQL 3 January 30th, 2006 10:07 PM
Unable to read Time field value from MySQL DB spc SQL Language 4 November 30th, 2005 01:15 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.