我正在尝试在 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(以前的版本已完全删除)。
谢谢。