De volgende code voer ik in terwijl ik met putty via ssh ben ingelogd op mysql>
mysql -u root -p DBname< /usr/src/mysql/backup.20080610.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 -u root -p DBname < /usr/src/mysql/backup.20080610.sql' at line 1
Wat doe ik fout? Of ligt het niet aan de regel code, maar aan het backupbestand?
mysql -u root -p DBname< /usr/src/mysql/backup.20080610.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 -u root -p DBname < /usr/src/mysql/backup.20080610.sql' at line 1
Wat doe ik fout? Of ligt het niet aan de regel code, maar aan het backupbestand?