· 9 years ago · Jun 15, 2017, 02:52 PM
1mysql --user=root --password=golf12 -e "create database if not exists sogodb; use sogodb; CREATE TABLE `sogodb`.`sogo_mail_auth` (`c_uid` VARCHAR( 256 ) NOT NULL ,`c_password` VARCHAR( 256 ) NOT NULL ,`c_name` VARCHAR( 256 ) NOT NULL ,`c_cn` VARCHAR( 256 ) NOT NULL ,`mail` VARCHAR( 256 ) NOT NULL) ENGINE = MYISAM CHARACTER SET latin1 COLLATE latin1_bin"
2
3
4
5
6
7
8-bash: sogodb: command not found
9-bash: sogo_mail_auth: command not found
10-bash: c_uid: command not found
11-bash: c_password: command not found
12-bash: c_name: command not found
13-bash: c_cn: command not found
14No mail for root
15ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( VARCHAR( 256 ) NOT NULL , VARCHAR( 256 ) NOT NULL , VARCHAR( 256 ) NOT NULL , ' at line 1