LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-11-2012, 01:06 PM   #1
lmcilwain
Member
 
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
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

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


Reply

Tags
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:03 AM.

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