Mysql 的语法

1、启动 停止

bin/mysql.server start

bin/mysql.server status

bin/xsuperstop

2、执行 sql 脚本 

/home/mysql/bin/mysql -S /home/mysql/bin/xsql5518.sock -uroot -p'xxx' --default_character_set=utf8 < /home/xx.sql >>/home/xx.log

猜你喜欢

转载自bdk82924.iteye.com/blog/2211970
今日推荐