View Full Version : [MySql] Perchè non funziona mysqldump?
D4rkAng3l
24-05-2009, 12:22
Ciao,
devo fare il backup di un database...accedo al terminale di MySql e mi loggo come root.
Poi digito
mysql> mysqldump --opt -u root -p miapassword asteonline > backupprogetto.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 --opt -u root -p aprile12 asteonline > backupprogetto.sql' at line 1
mysql>
Come mai?
Cosa sbaglio?
Grazie
Andrea
Ciao,
devo fare il backup di un database...accedo al terminale di MySql e mi loggo come root.
Poi digito
mysql> mysqldump --opt -u root -p miapassword asteonline > backupprogetto.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 --opt -u root -p aprile12 asteonline > backupprogetto.sql' at line 1
mysql>
Come mai?
Cosa sbaglio?
Grazie
Andrea
sicuro tu debba mettere la password? mi sembra che devi mettere solo -p e lui ti chiede la password.
D4rkAng3l
24-05-2009, 12:49
sicuro tu debba mettere la password? mi sembra che devi mettere solo -p e lui ti chiede la password.
così mi continua a dare errore:
mysql>
mysql> mysqldump --opt -u root asteonline > backupprogetto.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 --opt -u root asteonline > backupprogetto.sql' at line 1
Come mai?
tò disperato :muro: :muro: :muro: :muro:
così mi continua a dare errore:
mysql>
mysql> mysqldump --opt -u root asteonline > backupprogetto.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 --opt -u root asteonline > backupprogetto.sql' at line 1
Come mai?
tò disperato :muro: :muro: :muro: :muro:
lì non hai messo il -p comunque non so mi spiace, sinceramente ho fatto poche volte dump..
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.