igor berger Posted July 6, 2007 Share Posted July 6, 2007 Hey guys, I am looking for a PHP script to import local MySql dump I have the whole thing in it, like create table and update records! I am trying to backup my forum of 6mb but Cpaqnel back up utility times out after 90% import, and myphpadmin crashes! Thank you, Igor Quote Link to comment https://forums.phpfreaks.com/topic/58659-solved-need-a-script-to-import-local-mysql-dump/ Share on other sites More sharing options...
Wildbug Posted July 6, 2007 Share Posted July 6, 2007 Do you have shell/SSH access to the machine? If so, use the following to import your dump file: (shell prompt) $ mysql database_name -u username -p < dumpfile.sql ******** $ Quote Link to comment https://forums.phpfreaks.com/topic/58659-solved-need-a-script-to-import-local-mysql-dump/#findComment-291249 Share on other sites More sharing options...
igor berger Posted July 6, 2007 Author Share Posted July 6, 2007 Thanx Wilbug, but I found something better. It is called Bigdump! If anyone needs the script let me know and I will post the url. Also I did not enabled Shell for my account. Igor Quote Link to comment https://forums.phpfreaks.com/topic/58659-solved-need-a-script-to-import-local-mysql-dump/#findComment-291621 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.