colap Posted April 7, 2011 Share Posted April 7, 2011 How can i dump a mysql table and restore it? Link to comment https://forums.phpfreaks.com/topic/232962-how-can-i-dump-a-mysql-table-and-restore-it/ Share on other sites More sharing options...
mellis95 Posted April 7, 2011 Share Posted April 7, 2011 mysqldump http://www.patrickpatoray.com/?Page=30 Link to comment https://forums.phpfreaks.com/topic/232962-how-can-i-dump-a-mysql-table-and-restore-it/#findComment-1198255 Share on other sites More sharing options...
Maq Posted April 7, 2011 Share Posted April 7, 2011 How can i dump a mysql table and restore it? This is the typical way to do it: mysqldump --opt [db_name] [table_name] > [outputfile_name].sql But, as Mellis directed you to, check the manual for specific parameters and options to suit your needs. Link to comment https://forums.phpfreaks.com/topic/232962-how-can-i-dump-a-mysql-table-and-restore-it/#findComment-1198273 Share on other sites More sharing options...
colap Posted April 8, 2011 Author Share Posted April 8, 2011 How can i do the same thing from mysql prompt? I logged in from mysql prompt. mysql -u root -p password: mysql> Now is it possible to do mysqldump? Link to comment https://forums.phpfreaks.com/topic/232962-how-can-i-dump-a-mysql-table-and-restore-it/#findComment-1198490 Share on other sites More sharing options...
Maq Posted April 8, 2011 Share Posted April 8, 2011 How can i do the same thing from mysql prompt? I logged in from mysql prompt. mysql -u root -p password: mysql> Now is it possible to do mysqldump? You do it from the command line but NOT while you're in the MySQL prompt. Link to comment https://forums.phpfreaks.com/topic/232962-how-can-i-dump-a-mysql-table-and-restore-it/#findComment-1198756 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.