如何卸载mysql5.6.28_如何完全删除MySQL以进行全新安装

我需要完全删除有关MySQL的所有内容.它没有开始所以我决定删除它.但是在安装过程中发生了这

sta@daPC:~$sudo apt-get install mysql-server

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following extra packages will be installed:

libdbd-mysql-perl libmysqlclient18 mysql-client-5.6 mysql-common

mysql-server-5.6

Suggested packages:

mailx tinyca

The following NEW packages will be installed:

libdbd-mysql-perl libmysqlclient18 mysql-client-5.6 mysql-common

mysql-server mysql-server-5.6

0 upgraded, 6 newly installed, 0 to remove and 87 not upgraded.

Need to get 0 B/12,0 MB of archives.

After this operation, 101 MB of additional disk space will be used.

Do you want to continue? [Y/n] Y

Preconfiguring packages ...

Selecting previously unselected package mysql-common.

(Reading database ... 188526 files and directories currently installed.)

Preparing to unpack .../mysql-common_5.6.28-0ubuntu0.15.10.1_all.deb ...

Unpacking mysql-common (5.6.28-0ubuntu0.15.10.1) ...

Selecting previously unselected package libmysqlclient18:i386.

Preparing to unpack .../libmysqlclient18_5.6.28-0ubuntu0.15.10.1_i386.deb ...

Unpacking libmysqlclient18:i386 (5.6.28-0ubuntu0.15.10.1) ...

Selecting previously unselected package libdbd-mysql-perl.

Preparing to unpack .../libdbd-mysql-perl_4.028-2_i386.deb ...

Unpacking libdbd-mysql-perl (4.028-2) ...

Selecting previously unselected package mysql-client-5.6.

Preparing to unpack .../mysql-client-5.6_5.6.28-0ubuntu0.15.10.1_i386.deb ...

Unpacking mysql-client-5.6 (5.6.28-0ubuntu0.15.10.1) ...

Processing triggers for man-db (2.7.4-1) ...

Setting up mysql-common (5.6.28-0ubuntu0.15.10.1) ...

update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode

Selecting previously unselected package mysql-server-5.6.

(Reading database ... 188621 files and directories currently installed.)

Preparing to unpack .../mysql-server-5.6_5.6.28-0ubuntu0.15.10.1_i386.deb ...

Unpacking mysql-server-5.6 (5.6.28-0ubuntu0.15.10.1) ...

Selecting previously unselected package mysql-server.

Preparing to unpack .../mysql-server_5.6.28-0ubuntu0.15.10.1_all.deb ...

Unpacking mysql-server (5.6.28-0ubuntu0.15.10.1) ...

Processing triggers for man-db (2.7.4-1) ...

Processing triggers for ureadahead (0.100.0-19) ...

ureadahead will be reprofiled on next reboot

Processing triggers for systemd (225-1ubuntu9) ...

Setting up libmysqlclient18:i386 (5.6.28-0ubuntu0.15.10.1) ...

Setting up libdbd-mysql-perl (4.028-2) ...

Setting up mysql-client-5.6 (5.6.28-0ubuntu0.15.10.1) ...

Setting up mysql-server-5.6 (5.6.28-0ubuntu0.15.10.1) ...

update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode

2016-02-17 04:13:48 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).

2016-02-17 04:13:48 0 [Note] /usr/sbin/mysqld (mysqld 5.6.28-0ubuntu0.15.10.1) starting as process 13491 ...

正如您所看到的,它再次停止启动MySQL服务器.如何彻底删除MySQL以进行全新安装?

编辑:重新启动计算机后问题自行解决.由于我既没有发现问题也没有检测到实际的解决方案,所以我没有将其作为答案发布.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值