Forum Moderators: coopster
The folder of the database I want to upload is full of .frm .myd and .myi files. How do I upload this, and where do I upload it to. I normally but my access files in the DB folder, so I presume mysql is the same.
I thought I had set up the database using the HELM so the user and password will be acceptable, but I think it is not working as I don't know how to upload the mysql database correctly.
I read somewhere to download mysql front, and exported the database as a .sql file, but that did not seem to work. Am I on the right track?
Cheers For Any Help
mysqldump dbname > dbname.txt
and import on another machine using:
mysql dbname < dbname.txt
So do I copy the folder into the DB directory?
I the database was called F00 , would I just copy that F00 folder from the mysql/data/ to the DB folder on my server?
Yes. I just did that yesterday, pulling down live data to a test server. In my case I renamed the old data directory to data.old and copied the entire data directory to the mysql folder.
There may be better ways, such as the dump/import method. The copy method has worked several times for me.