MySQL: SyntaxError: Unexpected identifier

后端 未结 2 402
挽巷
挽巷 2021-02-05 01:32

I just installed MySQL on my computer and when I try to create a database from the MySQL shell, I get this error:

MySQL  JS > CREATE DATABASE databasename;
Sy         


        
2条回答
  •  春和景丽
    2021-02-05 01:39

    By looking at this thread here, it looks like you might be using the shell in js mode, you might be able to toggle it off by using the switch

    \sql 
    

    https://forums.mysql.com/read.php?10,661192,661203#msg-661203

提交回复
热议问题