dbcli / mycli

A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting.

Home Page:http://mycli.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do not execute sql without semicolon

zanminkian opened this issue · comments

It's the behavior of official mysql cli client. I think it's reasonable.

Here are my 2 suggestions. Accepting any one of them will improve this software.

  • Do not execute sql without semicolon.
  • Only execute sql which is only for viewing data, like select * from foo and show databases. Sql for updating data, like update and delete, should require a semicolon to execute. Or ask user whether to execute if there's no semicolon;