我正在尝试在 Windows 上安装和使用 MySQL 命令行客户端,如下所述: https://dev.mysql.com/doc/refman/5.5/en/mysql.html
安装MySQL后我发现了一个程序“MySQL Shell”。当我运行它时,它会提示
MySQL Shell 8.0.14
Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.
Type '\help' or '\?' for help; '\quit' to exit.
MySQL JS>
而不是提示“Shell”。这是同一个工具吗?如何在 Shell 模式下运行它?
如果不是同一个工具,在哪里可以安装我正在寻找的工具?
谢谢
最佳答案
您需要MySQL 客户端。
看起来您安装了MySQL Shell ,输入 \sql
以允许 SHOW DATABASES;
命令。
关于MySQL 命令行客户端,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54446176/