Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-11-2012, 02:06 PM   #1
Registered: Dec 2003
Location: Maryland
Distribution: Fedora, Ubuntu, Centos, FreeBSD
Posts: 376

Rep: Reputation: 30
Question mysql 5.5.19 restore database that has views?

Hey guys,

Is there a way that I can restore a mysql database that was not backed up with the add drop/database command but has views? Right now when I try to restore it barfs as soon as I hit a view.

I read the documentation and it says that the add/drop database command is necessary but since I don't have it I am checking to see if there is possibly an undocumented alternative?

Any help is greatly appreciated.
Old 12-11-2012, 04:28 PM   #2
LQ Guru
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM 17.1
Posts: 5,001
Blog Entries: 9

Rep: Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212Reputation: 1212
got a file.sql of the db, a recent mysqldump?


centos55, mysql

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] mysql will not restore database moodah Linux - Server 2 02-22-2011 04:02 PM
How do I Restore a mysql database ? Glenn D. Linux - Software 1 07-30-2010 09:12 AM
mysql restore database and id commands Glenn D. Linux - Software 1 07-22-2010 08:36 AM
mysql database restore help compused Linux - General 3 10-28-2008 05:48 PM
mysql database restore problem sajith Programming 1 07-01-2007 07:36 AM

All times are GMT -5. The time now is 07:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration