阅读背景:

我如何从一个蛋糕外壳读取数据库配置设置?

来源:互联网 

I would like to write a cake shell to do a nightly backup of my database using mysqldump. I could do this as a shell script, but if I can cram it into a CakePHP shell, then I will get the added benefit of it working across both the development and live server, if I can get it to automagically read my database config settings. I will cron the cake shell and have some peace-of-mind knowing that I have frequent backups of my DB.I would like to write a cake shell to do a nigh




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: