dsdsdsdsd Posted March 3, 2008 Share Posted March 3, 2008 hello; I have just installed apache/php/mysql/phpmyadmin on my pc; I want to copy my webhost directory onto my local machine for local testing; PROBLEM: when I download my mysql databses from my webhost, they are delivered to me as either tar.gz or .sql, BUT my local mysql directory is only recognizing .frm files; any thoughts?? thanks for your time dsdsdsdsd Chicago Quote Link to comment https://forums.phpfreaks.com/topic/94098-what-file-format-to-use/ Share on other sites More sharing options...
trq Posted March 3, 2008 Share Posted March 3, 2008 What OS is your local machine? Quote Link to comment https://forums.phpfreaks.com/topic/94098-what-file-format-to-use/#findComment-482026 Share on other sites More sharing options...
dsdsdsdsd Posted March 3, 2008 Author Share Posted March 3, 2008 winxp Quote Link to comment https://forums.phpfreaks.com/topic/94098-what-file-format-to-use/#findComment-482038 Share on other sites More sharing options...
trq Posted March 3, 2008 Share Posted March 3, 2008 Actually just read your post again. You shouldn't be simply downloading your database files, you need to export your database to an sql dump, from there its easy to import the dump back into your local db. Quote Link to comment https://forums.phpfreaks.com/topic/94098-what-file-format-to-use/#findComment-482063 Share on other sites More sharing options...
dsdsdsdsd Posted March 3, 2008 Author Share Posted March 3, 2008 that worked; it's a little bit stressful though that I seem to REQUIRE phpmyadmin to do all of the work ( ie export the .sql on the webhost side and subsequently import the .sql on my local machine - which in turn generates .frm, .MYD, .MYI files within my apache_server/... directory); I am left not actually knowing: what is a mysql file? .. is it a .frm?? is it a .sql?? is it a .sql that is processed by phpmyadmin?? but nevertheless, by using the phpmyadmin to IMPORT the .sql file, it works; thanks dsdsdsdsd Quote Link to comment https://forums.phpfreaks.com/topic/94098-what-file-format-to-use/#findComment-482085 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.