PHP forums, MySQL forums, Web Development resources

Home PageHome    PHP ResourcesTopic List    FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups 
 RegisterRegister
    ProfileProfile    Log in to check your private messagesLog in to check your private messages    Download the RSS Reader RSS Feed Download the RSS Reader RSS for this forum Log inLog in 

PHP Forum :: MySQL Forum :: Java Script Forum



Upgrading 5.0 to 5.1 - What happens to old tables?

 
Post new topic   Reply to topic    WeberForums.com Forum Index -> MySQL General
View previous topic :: View next topic  
Author Message
dwhitehead



Joined: 17 Apr 2008
Posts: 1

PostPosted: Thu Apr 17, 2008 11:55 pm    Post subject: Upgrading 5.0 to 5.1 - What happens to old tables? Reply with quote

First off, I made a big mistake. I'm using Mac OS X and I'm just messing around with MySQL, so the data isn't all that important. It will just take time to rebuild it all if its lost.

I had version 5.0.27 running fine. I wanted to upgrade to 5.1.24. So, the package installation asks if you want to upgrade. I said yes and proceeded without backing up my tables first. I know, I know - how stupid can I be?

Well, the thing is that it kept my old data directory and I just copied it over into the new installation, ran the mysql_upgrade program and all seemed to be fine. Except that now all my schemas are there but no tables. Is this simply because they're not there or is there some privilege thing that needs to change in order for me to see them?

Thanks.
Back to top
View user's profile Send private message
lostboy



Joined: 02 May 2004
Posts: 4966
Location: toronto, canada

PostPosted: Sun Apr 20, 2008 3:20 pm    Post subject: Reply with quote

check the folder permissions...though you haven't mentioned what the table type was...myisam is ok to copy in that way, innodb needs to be a more involved during the back up, by stopping the server and running the back up utility
_________________
Lostboy

Cat, the other other white meat

Please read Posting Etiquette before posting

You can always try Google
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
Display posts from previous:   
WeberTrivia Questions WeberTrivia Questions
 Think you are smart? Prove it!. Try your skills with these questions :
 WeberTrivia QuestionsRecursive arrays and multi-dimensional arrays are one and the same. (PHP and MySQL)
 WeberTrivia QuestionsThe \"cache_dir\" tag of the squid configuration has a default of /var/spool/squid. (Linux)

WeberTrivia Questions



Post new topic   Reply to topic    WeberForums.com Forum Index -> MySQL General All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum






Powered by phpBB © 2001, 2005 phpBB Group
PHP Forum :: MySQL Forum :: Java Script Forum