- Login in MySql, Create a new database, dbDestination
- Set permissions new database.
- Run this command in console, for duplicate database
[root@LinuxServer ~]# mysqldump -u root -pMyPassword dbSouce | mysql -u root -pMyPassword dbDestination
Notice: There is no space between -p and the password.
No hay comentarios:
Publicar un comentario