Search code examples
mysqlmysql-shell

How to change the MySQL JS> prompt to only MySQL>?


I did a custom installation for MySQL and only included the MySQL shell, the server, and the Python connector in the installation.

But I don't know where the JavaScript prompt MySQL JS > came from.

And because of that I can't connect Python and MySQL.

Screenshot of MySQL JS prompt


Solution

  • Just switch the execution mode to sql in the shell:

    \sql