Hello all...
I have a test mysql server, and have built a database that I would like to dump to my web host.
I am inputting the command:
$ mysqldump -u user -p password --databases databasename | mysql -u user -p password --host=host.com -C newDatabasename
Could someone confirm the following for me?
1) newDatabasename must already be created on host
2) In order to accomplish this, user must have sufficient rights on the host mysql server
Once the command is successfully completed, is there any indication that it has? Will newDatabase name appear in the mysql folder on the host? Do I need to 'undump' the newDatabase, or is it ready to use?
Thanks all, for your help!
Cheers!
Laura
I have a test mysql server, and have built a database that I would like to dump to my web host.
I am inputting the command:
$ mysqldump -u user -p password --databases databasename | mysql -u user -p password --host=host.com -C newDatabasename
Could someone confirm the following for me?
1) newDatabasename must already be created on host
2) In order to accomplish this, user must have sufficient rights on the host mysql server
Once the command is successfully completed, is there any indication that it has? Will newDatabase name appear in the mysql folder on the host? Do I need to 'undump' the newDatabase, or is it ready to use?
Thanks all, for your help!
Cheers!
Laura