Thanks
I found this with a bit of searching:
mysql -u user -p db-name < db-name.out
Since I named my file: mo_backup
After I login to the root user on putty, do I
mysql db-name < mo_backup
and db-name is the new name that I want ?
BTW
The reason for doing this is this:
I am running a wordpress plugin which generates webpages dynamically
but a bit slow. There are about 20 of these sites, with images etc.
The plugin now has an html export function which will output everything
needed to run the site standalone - and therefore much faster.
These 20 minisites are established on a url like this:
minisite1.myfirstdom.com
minisite2.myfirstdom.com
Because I already have backlinks to these urls I want to
put the HTML version on them.
So, what I want to do is setup a new wp on a different url,
install the plugin and then import content to the new installation.
What is the best way to do this?
Shall I make a copy of the existing database, ( doing that bit now )
then do a new wordpress install and give it the new database name,
then copy the wp_content folder over to the new install ?
What do you think ?
.