Ho appena effettuato l'accesso alla mia EC2 tramite Putty su Windows e sono entrato nella mia istanza RDS e in un database che avevo creato. Quindi provo ad importare un dump SQL dalla mia macchina con il seguente codice che risulta in un errore.Come importare Dump MYSQL in Amazon RDS
mysql> source C:\Users\guru\Downloads\latest.sql;
ERROR:
Unknown command '\U'.
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 'source C:\Users' at line 1
ERROR:
Unknown command '\D'.
ERROR:
Unknown command '\l'.
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 'uru\Downloads\latest.sql' at line 1
Il file esiste nel mio computer Windows. Per favore aiutami a risolvere l'errore.
È necessario caricare prima il file. Quel file esiste sul tuo computer locale, ma non la tua istanza ec2. Prova WinSCP. – datasage
Grazie. C'è un modo per importare un dump mysql direttamente dalla mia macchina locale? – TechyTimo
Sì, ma è necessario un client mysql sul computer locale per farlo. Probabilmente questo sarà più lento, ci sarà più latenza tra ogni affermazione. – datasage