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 Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.