【问题标题】:MySQL 5.6 install on debian ERROR:在 debian 上安装 MySQL 5.6 错误:
【发布时间】:2013-08-23 15:43:08
【问题描述】:

我正在尝试在 Debian 上安装 MySQL 5.6。

这是我的工作:

sudo dpkg -i mysql-5.6.12-debian6.0-i686.deb
cd /usr/local
ln -s /opt/mysql/server-5.6 mysql
cd mysql
scripts/mysql_install_db.sh --user=mysql --datadir=/var/lib/mysql

这是我得到的错误:

FATAL ERROR: Could not find @bindir@/my_print_defaults

If you compiled from source, you need to run 'make install' to
copy the software into the correct location ready for operation.

If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.

您能提出一些建议吗?我正在从头开始安装 MySQL(以前的版本已完全删除)。

谢谢。

【问题讨论】:

    标签: mysql debian


    【解决方案1】:

    我可能无法帮助您解决您遇到的错误。但是apt-get install -f mysql-server-5.5 在 Debian Wheezy 上为我工作。尝试将 5.5 替换为 5.6,看看它是否也能正常工作,并可能在其前面加上 sudo

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-10-04
      • 2014-11-07
      • 1970-01-01
      • 1970-01-01
      • 2015-09-23
      相关资源
      最近更新 更多