Please note: If this FAQ s empty you must choose English language from the drop-down-box below. Only English content is available as of now!
Navigation
- FAQ Home
- All categories
- About Webyog support and about this FAQ
- About the SQLyog program

- Connection issues

- Using the GUI
- Managing your MySQL Database Systems

- Database Schema Synchronization
- MySQL DATA synchronization
- Notification Services
- Importing external data
- Backup/Restore
- SQLyog Job Agent (SJA)

- Working with Views, Stored Procedures and Triggers
- Character Set and Localization Issues
- MySQL bugs that affect SQLyog
- Questions on Open Source and Compiling
- Instant Response
- Sitemap
13 Users online :: 13 Guests and 0 Registered
Most popular FAQs 
- I get error 1130 "Host is not allowed to ... (115398 views)
- Error no. 2003: Can't connect... (52114 views)
- Error no. 1251: "Client does not support authentication..." (48094 views)
- Error no. 1045: "Connection denied..." (41350 views)
- SQLyog Version History (39958 views)
- What is HTTP-tunneling? (29296 views)
- Error No. 2005: Unknown MySQL server host... (28370 views)
- What Is SSH and SSH-tunneling? (25497 views)
- Why are Stored Procedures not created when I import ... (23464 views)
- Do I need PHP to use SQLyog with MySQL? ... (21521 views)
Latest FAQs 
- SQLyog Version History (2010-03-09 03:20)
- SQLyog is a client for the MySQL server - ... (2009-09-11 07:48)
- Can I use SQLyog with the various SQL-modes available ... (2009-08-20 08:02)
- Failed dependency for libstdc++.so.5 error (2009-08-13 11:22)
- Wrong results are returned for FOUND_ROWS(). (2009-08-12 06:31)
Backup/Restore
ID #1106
Backup issue: Routines don't restore
There are two known reasons for this:
1) It can be a privilege issue. It is described here.
2) Or it can be because of a bug with the MySQL server. MySQL 5.0.20 introduced the substring " DEFINER 'user'@'host' " in the ROUTINE definition. When querying MySQL about the CREATE ROUTINE statement MySQL returns that substring and it is inserted into the .sql backup file. However some MySQL versions returned the 'infamous' MySQL server error 1064 "You got a syntax error ..." when trying to execute a CREATE ROUTINE statement with such DEFINER substring. This affects MySQL 5.0.20, 5.0.21, possibly 5.0.22 and possibly some 5.1.x builds before 5.1.11. This was fixed 'silently' by MySQL AB (without creating a bug report and without noting it in the server changelogs). It works from 5.0.23 (and maybe even 5.0.22)
Tags: -
Related entries:
- SQLyog Version History
- Error no. 2003: Can't connect...
- Plans for future versions of SQLyog
- Types of support that Webyog offers
- Why are Stored Procedures not created when I import an SQL-file?
Last update: 2006-07-13 07:14
Author: Peter Laursen
Revision: 1.0
You can comment this FAQ