mysql> create table t2(select * from t1);
-> ^CCtrl-C -- exit!
Aborted
pt@pt-laptop:~$
这段时间经常出现问题,上面的命令
mysql> create table t2(select * from t1);
不知道有何错误,按下回车键以后,不能正常运行,出现 -> (mysql的提示符),按下ctro +c 后,又不退回到mysql,直接退回到shell。
请问如何解决这个问题。
-> ^CCtrl-C -- exit!
Aborted
pt@pt-laptop:~$
这段时间经常出现问题,上面的命令
mysql> create table t2(select * from t1);
不知道有何错误,按下回车键以后,不能正常运行,出现 -> (mysql的提示符),按下ctro +c 后,又不退回到mysql,直接退回到shell。
请问如何解决这个问题。
create table t2(select * from t1)$$
或者
create table t2(select * from t1)//
或者
create table t2(select * from t1)\\
用 DELIMITER ; 重置下~
mysql> DELIMITER ;