Stretchwickster
Programmer
MySQL version: 5.0.67-community-log
I've recently added a significant number of stored routines (i.e. stored procedure and stored functions) to my database. I checked the output of my automatic backup PHP script (which executes a call to mysqldump) today and discovered that the stored routines are not dumped.
I read the MySQL 5.0 Reference Manual ( but adding the "-R" parameter to the mysqldump call of my backup script only outputs the following (after all tables and their data have been dumped):
Unfortunately, no stored routines in sight!
Does anyone have any ideas on what I'm doing wrong?
Your advice would be much appreciated.
Clive
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
I've recently added a significant number of stored routines (i.e. stored procedure and stored functions) to my database. I checked the output of my automatic backup PHP script (which executes a call to mysqldump) today and discovered that the stored routines are not dumped.
I read the MySQL 5.0 Reference Manual ( but adding the "-R" parameter to the mysqldump call of my backup script only outputs the following (after all tables and their data have been dumped):
Code:
--
-- Dumping routines for database 'prefix_dbname'
--
DELIMITER ;;
DELIMITER ;
Does anyone have any ideas on what I'm doing wrong?
Your advice would be much appreciated.
Clive
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096