MySQL Forums
Forum List  »  Newbie

Updating db schema
Posted by: Jonathan Loh
Date: April 23, 2005 08:16PM

How do you do this?

I was thinking something like

mkdir dump
mysqldump -p --tab=dump dbname
mysql> drop database dbname;
mysqladmin create dbname
cat newschemafile.sql | mysql -p dbname
mysqlimport dbname dump/*.txt

But when I do it this way I seem to be left with the same schema I started out with.

Options: ReplyQuote


Subject
Written By
Posted
Updating db schema
April 23, 2005 08:16PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.