1
我试图在Debian上安装MySQL 5.6。MySQL 5.6安装在debian上ERROR:
这里我做什么:
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 @[email protected]/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(以前的版本被完全删除)。
谢谢。