Debianで時刻あわせの続きです。

サーバの時刻を修正したのにMySQLの時刻が直らない。
そんなときは再起動です。

debian:~# /etc/init.d/mysql restart
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
debian:~# mysql -uroot -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 10
Server version: 5.0.32-Debian_7etch10-log Debian etch distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> select NOW();
+---------------------+
| NOW()               |
+---------------------+
| 2010-02-01 16:32:17 |
+---------------------+
1 row in set (0.00 sec)

mysql>

なおったー