Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > PHP Databases
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 15th, 2005, 10:16 PM
Authorized User
 
Join Date: Aug 2004
Location: Houston, Texas, USA.
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.

Don
aka TwoNames
Reply With Quote
  #2 (permalink)  
Old April 18th, 2005, 11:27 AM
Friend of Wrox
Points: 1,515, Level: 15
Points: 1,515, Level: 15 Points: 1,515, Level: 15 Points: 1,515, Level: 15
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2003
Location: Oxford, , United Kingdom.
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts
Default

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 )

Cheers


--
Don't Stand on your head - you'll get footprints in your hair
                                           http://charlieharvey.org.uk
                                              http://charlieharvey.com
Reply With Quote
  #3 (permalink)  
Old April 21st, 2005, 10:52 AM
Authorized User
 
Join Date: Aug 2004
Location: Houston, Texas, USA.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 08:12 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.