重新安装mysql时提示错误。。。求助

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
ckmaster
帖子: 40
注册时间: 2010-03-02 14:21

重新安装mysql时提示错误。。。求助

#1

帖子 ckmaster » 2012-12-07 2:56

系统版本是:Server 12.04.1 64bit
安装好系统后,用命令 sudo tasksel 进入图形界面安装过一次 LAMP-Server

随后又卸载掉了 LAMP-Server 用命令 sudo apt-get autoremove --purge lamp-server

并且删除掉了 /var/lib/mysql 和 /etc/mysql

然后apt-get -f install 检查没有错误,,,

又用命令sudo tasksel 进入图形界面安装lamp-server 当提示2次输入mysql root密码后 出现这样的提示

Unable to set password for the MySQL "root" An error occurred while setting the password for the MySQL administrative user. This may have happened because the account already has a password, or because of a communication problem with the MySQL server. You should check the account's password after the package installation. Please read the /usr/share/doc/mysql-server-5.5/README.Debian file for more information.

点击OK后 回到控制台,就提示 tasksel: aptitude failed (100)


然后发现 /var/lib/mysql 下面没有库 也没有表,,,查看了mysql运行状态 是未运行,,,

请问以上问题出在哪里?应该如何解决? 忘高人不吝赐教,
meditation
帖子: 217
注册时间: 2009-10-06 21:41
系统: ARCH

Re: 重新安装mysql时提示错误。。。求助

#2

帖子 meditation » 2012-12-07 3:37

为何重复发帖? :em20
ckmaster
帖子: 40
注册时间: 2010-03-02 14:21

Re: 重新安装mysql时提示错误。。。求助

#3

帖子 ckmaster » 2012-12-07 4:19

meditation 写了:为何重复发帖? :em20
着急呀'在线等解决办法呢
回复