我尝试在我的 ubuntu vps 上安装 mysql-server 一段时间没有成功
在全新安装(完全清除所有与 mysql 相关的软件包)安装过程中,它会要求设置 root 密码,然后它会显示一个错误屏幕,其中包含:
为 MySQL 管理用户设置密码时出错。这可能是因为帐户已经有密码,或者因为与 MySQL 服务器的通信问题。
Unpacking mysql-server (from .../mysql-server_5.5.34-0ubuntu0.12.04.1_all.deb) ...
Processing triggers for man-db ...
Setting up libmysqlclient18 (5.5.34-0ubuntu0.12.04.1) ...
Setting up libdbd-mysql-perl (4.020-1build2) ...
Setting up mysql-client-core-5.5 (5.5.34-0ubuntu0.12.04.1) ...
Setting up mysql-client-5.5 (5.5.34-0ubuntu0.12.04.1) ...
Setting up mysql-server-core-5.5 (5.5.34-0ubuntu0.12.04.1) ...
Setting up mysql-server-5.5 (5.5.34-0ubuntu0.12.04.1) ...
131130 18:01:34 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the …Run Code Online (Sandbox Code Playgroud) dpkg ×1