D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] recovering mysql from trashed install

 

On Wed, 2013-10-09 at 22:16 +0100, Tom wrote:
> I made an install unbootable and would like to try and use the old msql 
> database on it. Can I just copy a file over and then point my new mysql 
> install at it?
> Tom te tom te tom
> 

did you "Dump" the database at any time? ie backup with Create command
in the sql?

If so you can just Import it.
mysql - u user_name -p your_password database_name < file_name.sql
-- 

________________________________________________________________________


Regards

Kevin Lucas
Minions Post Master(Sub) 
A dedicated Linux user
/usr/bin/microsoft
Skype minions_shop
www.minionsbandb.co.uk
www.tearooms.minionsbandb.co.uk
FaceBook Minions_shop
Po House, Minions,
Liskeard Cornwall 
PL14 5LE
01579363386






-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq