23,116
社区成员
发帖
与我相关
我的任务
分享
#!/bin/sh
mysql -uroot -proot;
create database tigasedb;
但执行后是这样的:
[root@localhost opt]# ./Test.sh
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 13
Server version: 5.1.45-community MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>