View Single Post

   
  #2 (permalink)  
Old 02-28-2008, 09:46 AM
Jerry Stuckle
 
Posts: n/a
Default Re: How to re-attach database after crash

Ron wrote:
> Hi,
>
> Maybe there's a FAQ here, but I did not find it.
> So I hope you don't mind me putting my qustion directly in this group.
> Situation: harddisk crash. Fortunately it was the systemdisk that
> crashed, so all the data was preserved.
> I've reinstalled MySQL agin, but now I need to re-attach the tables/
> database from E:\Mysql50\F1 to the server.
> Can anyone tell me how? There's no back-up since this is a
> experimental server...
>
> Thanx in advance!
>
> Ron
>


Ron,

It might be as simple as just going into your my.ini file and changing
the datadir to E:\Mysql50\F1. Assuming, of course, you're running the
same version of mySQL.

Of course you'll have to restart MySQL.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Reply With Quote