[英]MySQL 5.6 install on debian ERROR:
我正在嘗試在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(以前的版本已完全刪除)。
謝謝。
我可能無法解決您遇到的錯誤。 但是apt-get install -f mysql-server-5.5
在Debian Wheezy上為我工作。 嘗試用5.6替換5.5,看看它是否也可以正常工作,並且可能在sudo
之前。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.