mysqldump
Publicado por Carina (5 intervenciones) el 01/06/2010 21:29:08
Hola a todos: quiero hacer el backup de una base de datos con el mysqldump pero me da un error.
Enter password: ******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 30
Server version: 5.1.34-community MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> mysqldump DB1 > backupdb.sql
-> ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'mysql
dump DB1 > backupdb.sql' at line 1
mysql> use DB1;
Database changed
mysql> mysqldump DB1> backupdb.sql
-> ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'mysql
dump DB1 > backupdb.sql' at line 1
mysql>
A que se debe? que estoy poniendo mal?
Saludos
Enter password: ******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 30
Server version: 5.1.34-community MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> mysqldump DB1 > backupdb.sql
-> ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'mysql
dump DB1 > backupdb.sql' at line 1
mysql> use DB1;
Database changed
mysql> mysqldump DB1> backupdb.sql
-> ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'mysql
dump DB1 > backupdb.sql' at line 1
mysql>
A que se debe? que estoy poniendo mal?
Saludos
Valora esta pregunta


0