MySQL Forums
Forum List  »  InnoDB

Re: change innoDB Data DIrectory after creating table?
Posted by: Rick James
Date: January 09, 2015 10:17AM

CREATE TABLE dbssd.foo LIKE db.foo;
INSERT INTO dbssd.foo SELECT * FROM db.foo;
DROP db.foo;

It will, of course, take a significant amount of time to process.
And your code needs to reference `foo` in the new database.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: change innoDB Data DIrectory after creating table?
1005
January 09, 2015 10:17AM


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.