| Bug #3609 | Restore from a backupfile failed with error exception | ||
|---|---|---|---|
| Submitted: | 30 Apr 2004 8:53 | Modified: | 3 Jun 2004 12:44 |
| Reporter: | Steffen Schlaer | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Administrator | Severity: | S1 (Critical) |
| Version: | 1.0.3 ALPHA | OS: | Windows (Windows XP) |
| Assigned to: | Ulrich Bayer | CPU Architecture: | Any |
[30 Apr 2004 8:53]
Steffen Schlaer
[12 May 2004 20:07]
chris harwood
hi myself and a coleague (mohammed shamma) experienced this same issue with the exception the mysql 4.0.18 server is running on RHAS 2.1. i uploaded the file manually to the server and tried mysql -p db < backup_file.sql it bombed on line 5. apparently mysql doesn't like the single quotes in USE 'db'; on line 5. simply removing them allowed the command line to work fine. Mysql Administrator continued to fail when restoring the modified backup file. chris
[3 Jun 2004 12:44]
Ulrich Bayer
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at http://www.mysql.com/downloads/ Additional info: Hello, I think that this problem is character-set related. We have fixed these problems in the 1.0.4 beta release on Windows. @chris harwood: I am not sure what Mysql-Administrator version you have used but I would think that you have already used a new version which dumps the data into a utf-8 encoded sql-file. If so the problem with mysql command line tool was that there was a line missing explaining the character-set of the sql-file. This is also fixed.
