brendon2020
[H]ard|Gawd
- Joined
- Dec 15, 2002
- Messages
- 1,541
When restoring tables/db's thru mysql/mysql.exe what is the correct way to restore the table/db when the sql/backup file has spaces in the filename and/or spaces in the directory name? So,
BTW this is actually for a windows 2k server and i'm working on a ubuntu box, so i'd like is if i can make sure that the dir and filename will work with mysql.exe. TIA
Code:
/usr/bin/mysql --user="user" --pass="pass" < "/home/user/some folder/some backup file.sql"
-bash: /home/user/some folder/some backup file.sql: No such file or directory
BTW this is actually for a windows 2k server and i'm working on a ubuntu box, so i'd like is if i can make sure that the dir and filename will work with mysql.exe. TIA