MySQL5.5执行脚本中的SQL
SQL格式恢复
[root@localhost backup]# /software/bin/MySQL -usystem -p'Mysql#2015' -S /data/mysql.sock fire < /backup/firedb_fullbk.sql
也可以使用SOURCE语句来执行
mysql> use fire
Database changed
mysql> source /backup/firedb_fullbk.sql
当前标题:MySQL5.5执行脚本中的SQL
分享链接:http://scyanting.com/article/jeggss.html
[root@localhost backup]# /software/bin/MySQL -usystem -p'Mysql#2015' -S /data/mysql.sock fire < /backup/firedb_fullbk.sql
也可以使用SOURCE语句来执行
mysql> use fire
Database changed
mysql> source /backup/firedb_fullbk.sql
当前标题:MySQL5.5执行脚本中的SQL
分享链接:http://scyanting.com/article/jeggss.html