小编Ism*_*era的帖子

MAMP mysql命令行工作但不显示信息,并且在命令后我一直得到空的提示箭头

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.5.34 Source distribution

Copyright (c) 2000, 2013, 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 '\h' for help. Type '\c' to clear the current input statement.

mysql> show databases
    -> show databases
    -> 
Run Code Online (Sandbox Code Playgroud)

这很奇怪,我认为我从来没有遇到过这个问题,也无法在网上或此处找到任何有关此问题的信息。

我最近购买了MAMP并将其安装在我的系统上。我将全局PATH更改为指向MAMP mysql,并能够通过终端连接到mysql,因此在终端上出现了“ mysql>”提示,那里没有问题。

但是,当我要求诸如“显示数据库”或“显示表”之类的某些内容时,我得到的都是空提示,换句话说就是空箭头“->”。 …

mysql database terminal command-line mamp

1
推荐指数
1
解决办法
845
查看次数

标签 统计

command-line ×1

database ×1

mamp ×1

mysql ×1

terminal ×1