Posted by:
stevenmartin99
(---.b-ras2.blp.dublin.eircom.net)
there is no missing file
when mysql is using the innodb engine
data and structure are kept seperatly
when you created the db in 5.0 the data was kept in data/ibdata file
you then moved the the structure only data\databasename folder into a new mysql version which is why the database shows up but is not usable (no data)
the data is still in the ibdata file in 5.0 . but you cannot just move innodb databases in the way that you did.
you must move the database folder you moved, back into 5.0 and run that version of mysql
export the db using mysql export function and ul end up with a .sql file
then you can load up 5.1.3 and import using the import function..
ALSO - you cannot get the data from the ibdata file by hand, its very complexly written for speed and table linking
---------------------------------------------------------------------------------------------
ILL SAY AGAIN- you cannot move innodb db , they must be exported,, you can ONLY do his with MYISAM databases as the data for these is kept in the MYI and MYD files inside the db folder
Steven Martin
stevenmartin99@gmail.comstevenmartin99@hotmail.comPampServer.com - [
pampserver.com]