shell脚本导出数据库备份

#! /bin/sh

#/opt/lampp/bin/mysql -u root <<EOF

/opt/lampp/bin/mysqldump -uphp -p999999 ddkan ob_order > mysql.ob_order
/opt/lampp/bin/mysqldump -uphp -p999999 ddkan ob_order_hopecool > mysql.ob_order_hopecool

#EOF

你可能感兴趣的:(shell脚本)