mysql.server : command not found

标签 mysql linux linux-mint

<分区>

我是 Linux 和 mysql 的新手。我按照指示下载并安装了适用于 linux 的 mysql here .

我的操作系统是 Linux Mint 17,我安装了 Ubuntu 14.04 LTS 版本的 mysql。

我执行了:

sudo dpkg -i mysql-apt-config_0.1.5-1ubuntu14.04_all.deb

选择mysql-5.6然后执行:

sudo apt-get update
sudo apt-get install mysql-server
sudo mysql_install_db

现在,当我尝试运行 mysql.server 时,它显示:

mysql.server: command not found

但是当我执行 sudo service mysql start 时,它说:

* A MySQL Server is already started

我是否必须担心未找到 mysql.server 命令,或者我应该忽略它并继续前进?

这个问题不同于这个one因为它与 Windows 操作系统有关。

最佳答案

要检查 mysql 是否正在运行,请使用以下命令:

sudo service mysql status

关于mysql.server : command not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24817371/

相关文章:

php - 在具有数据库中 1 列的表中显示多维数组结果

linux - 在 linux 中识别列中的各个条目

c++ - 在 Linux 和 Windows 上计算相同 --> 不同的结果

c# - 如果进程以编程方式运行(来自 C#),则“没有这样的文件或目录”

linux - Nemo - "Move to"的自定义位置?

mysql - 如何设置 MySQL 表中的最大行数?

php - 如何更快地循环 CSV mysql 更新?

linux - Pyinstaller 和 xdg-open

linux - Bash 编程 — 如何将字符串添加到文本文件中

mysql - 数据库查询: [Union]/[or condition in where clause]