I have been given a MySQL database in the form of ibdata1, ib_logfile0, ib_logfile1, and a collection of .myi, .myd, and .frm files.
How would I go about 'attaching' this db to my local MySQL 5.1 installation? I found one advice to create a new directory in MySQL's data
directory, but I can't find any such directory.
Best Answer
To find the 'data directory', which ended up under ApplicationData\AllUsers, I looked in 'my.ini' under the MySQL directory in Program Files. Then it was as simple (on the face of it) to copy all the .myi, .myd, and .frm files to a new directory under the data directory. Voila, instant DB.