Commit 31eb61f5 authored by tywldx's avatar tywldx

fix

parent 8e34985a
...@@ -13,7 +13,7 @@ do ...@@ -13,7 +13,7 @@ do
if [[ sql_tables == '' ]];then if [[ sql_tables == '' ]];then
echo "这个数据库没有基础数据需要同步" echo "这个数据库没有基础数据需要同步"
else else
table_data="mysqldump $sql_command --skip-lock-tables --tables $sql_tables > /tmp/${db}_db.sql" table_data="mysqldump $sql_command --skip-lock-tables --tables $sql_tables --skip-add-locks --no-create-info --complete-insert > /tmp/${db}_db.sql"
echo "$table_data" echo "$table_data"
eval $table_data eval $table_data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment