Debian 上的 MySQL:“检查损坏的、未完全关闭并升级需要的表..”

rai*_*dog 1 mysql debian debian-squeeze

我是 Linux 的老手,但我是 Debian 的新手。在 Debian 6 上,我 apt-got mysql 然后启动它。我弄乱了 my.cnf 并将其搞砸了……显然在 debian-land 中,他们确实想从 127.0.0.1:3306 开始,尽管我只会使用套接字连接。

所以我把库存 debian my.cnf 放回原处。现在,当我执行 /etc/init.d/mysql restart 时,我得到了这个:

"Checking for corrupt, not cleanly closed and upgrade needing tables.."
Run Code Online (Sandbox Code Playgroud)

/var/log/syslog 有这个:

Apr  8 13:48:12 debian mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld.pid ended
Apr  8 13:48:13 debian mysqld_safe: Starting mysqld daemon with databases from /var/lib/mysql
Apr  8 13:48:13 debian mysqld: 110408 10:48:13 [Note] Plugin 'FEDERATED' is disabled.
Apr  8 13:48:13 debian mysqld: 110408 10:48:13  InnoDB: Started; log sequence number 0 44233
Apr  8 13:48:13 debian mysqld: 110408 10:48:13 [Note] Event Scheduler: Loaded 0 events
Apr  8 13:48:13 debian mysqld: 110408 10:48:13 [Note] /usr/sbin/mysqld: ready for connections.
Apr  8 13:48:13 debian mysqld: Version: '5.1.49-3'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Debian)
Apr  8 13:48:14 debian /etc/mysql/debian-start[5849]: Upgrading MySQL tables if necessary.
Run Code Online (Sandbox Code Playgroud)

那么......这是“如果你想知道我正在做的事情”状态消息(“只是告诉你我正在检查等”)中的一个,或者这是否表明某种问题?

我问是因为我以前从未见过这个,而且我在 /etc/init.d/mysql 中没有找到那个字符串,所以它一定来自 MySQL 本身。

我不认为我更早知道(在我的 my.cnf 欺骗之前),但我不能 100% 确定,因为我之前没有摄入足够的咖啡因。

Sha*_*den 5

是的,这总是发生。没什么可担心的。

要禁用 127.0.0.1:3306 侦听器,请添加skip-networking到您的配置中。