Download your favorite Linux distribution at LQ ISO.
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, 01:06 PM   #1
Registered: Dec 2003
Location: Maryland
Distribution: Fedora, Ubuntu, Centos, FreeBSD
Posts: 390

Rep: Reputation: 31
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, 03:28 PM   #2
LQ Addict
Registered: Jan 2011
Posts: 8,556
Blog Entries: 13

Rep: Reputation: Disabled
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 03:02 PM
How do I Restore a mysql database ? Glenn D. Linux - Software 1 07-30-2010 08:12 AM
mysql restore database and id commands Glenn D. Linux - Software 1 07-22-2010 07:36 AM
mysql database restore help compused Linux - General 3 10-28-2008 04:48 PM
mysql database restore problem sajith Programming 1 07-01-2007 06:36 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:47 PM.

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