MySQL: SyntaxError: Unexpected identifier

后端 未结 2 398
挽巷
挽巷 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:53

    You can type:

    Mysql JS>  \sql
    Mysql SQL>  \connect root@localhost
    

    and provide your password.

提交回复
热议问题