divinequran Posted December 16, 2008 Share Posted December 16, 2008 i have a mysql database in my system, i want to take backup and transfer it to another database, how it can be done. Quote Link to comment https://forums.phpfreaks.com/topic/137217-backup-and-transfer-mysql-db/ Share on other sites More sharing options...
Maq Posted December 16, 2008 Share Posted December 16, 2008 backup: mysqldump -h"host" -u"username" -p"password" "dbname" > dir/your_file.sql restore: mysql -u "username" -p "dbname" Quote Link to comment https://forums.phpfreaks.com/topic/137217-backup-and-transfer-mysql-db/#findComment-716799 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.