纠结死了。。 原因:因为生产环境php版本是7以上,导致备份类中mysql_query不能使用,换版本7以下即可。 特此为记 转载于:https://www.cnblogs.com/ximishuier/p/10334981.html