Bug #67475 | Restoring routines from dump file fails | ||
---|---|---|---|
Submitted: | 5 Nov 2012 15:39 | Modified: | 28 Jan 2013 13:42 |
Reporter: | Judy Whiteside | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Workbench: SQL Editor | Severity: | S3 (Non-critical) |
Version: | 5.2.44 | OS: | Windows (Win 7 Pro x64) |
Assigned to: | CPU Architecture: | Any | |
Tags: | dump, restore |
[5 Nov 2012 15:39]
Judy Whiteside
[5 Nov 2012 15:41]
Judy Whiteside
sql script from dumping routines to test restore action
Attachment: restoreRoutinesBug.sql (application/octet-stream, text), 2.42 KiB.
[6 Nov 2012 14:44]
MySQL Verification Team
Do you have log-bin enabled? Try using the mysql.exe client and look for the error. Thanks.
[6 Nov 2012 21:43]
Judy Whiteside
I turned on log-bin and ran everything again. From mysql workbench: same results, no errors, no function created. From mysql command line, AND from mysql workbench Server panel Data Import area, I got the following error: 15:38:30 Restoring C:\Users\Judy\Downloads\restoreRoutinesBug.sql Running: mysql.exe --defaults-extra-file="c:\windows\temp\tmpzqjhat.cnf" --host=127.0.0.1 --user=root --port=3306 --default-character-set=utf8 --comments --database=states < "C:\\Users\\Judy\\Downloads\\restoreRoutinesBug.sql" ERROR 1418 (HY000) at line 34: This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable) Operation failed with exitcode 1 15:38:30 Import of C:\Users\Judy\Downloads\restoreRoutinesBug.sql has finished with 1 errors I am also attaching a screenshot of the output from the mysql command line run. It has the same errors, but just slightly different output.
[6 Nov 2012 21:44]
Judy Whiteside
screenshot of mysql cmd line run of restore script
Attachment: restoreRoutinesBug-screenshot.PNG (image/png, text), 151.12 KiB.
[28 Dec 2012 13:42]
MySQL Verification Team
Please try version 5.2.45. Thanks.
[29 Jan 2013 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".