mojito Posted April 24, 2006 Share Posted April 24, 2006 Its easy to dump a database using phpmyadmin, however I would like to know how to dump this file to a new database name. I tried modifying the sql at the top where it creates the database. This gave an error.I have putty and would like to know how i can use it locally to do this stuff from a command line.Any help with any of the above is greatly appreciated.m Link to comment https://forums.phpfreaks.com/topic/8263-copy-mysql-database-to-different-name/ Share on other sites More sharing options...
fenway Posted April 24, 2006 Share Posted April 24, 2006 It should be as easy as adding "CREATE DATABASE <yourDBname>" followed by "USE <yourDBname>" at the top. Link to comment https://forums.phpfreaks.com/topic/8263-copy-mysql-database-to-different-name/#findComment-30185 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.