PHP選擇性備份MySQL數據庫完整函數

MySQL備份的方式不少,這裏介紹如何用PHP有選擇性的備份。php 公共函數:傳入鏈接數據庫的參數和要備份的表便可,返回爲表結構即數據sql字符串mysql function backup_tables($host, $user, $pass, $name, $tables = '*') { $link = mysql_connect($host, $user, $pass); if(!$l
相關文章
相關標籤/搜索