今日、Ubuntu 13.10にMySQLをインストールしましたが、非常にうまくいきました。しかし、コンピューターを再起動した後、MySQLを再起動すると失敗し、/ var / log / mysqlのログは次のようになります。
31216 22:40:25 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
131216 22:40:25 [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 full name instead.
131216 22:40:25 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
131216 22:40:25 [Note] Plugin 'FEDERATED' is disabled.
131216 22:40:25 InnoDB: The InnoDB memory heap is disabled
131216 22:40:25 InnoDB: Mutexes and rw_locks use GCC atomic builtins
131216 22:40:25 InnoDB: Compressed tables use zlib 1.2.8
131216 22:40:25 InnoDB: Using Linux native AIO
131216 22:40:25 InnoDB: Initializing buffer pool, size = 128.0M
131216 22:40:25 InnoDB: Completed initialization of buffer pool
131216 22:40:25 InnoDB: highest supported file format is Barracuda.
131216 22:40:26 InnoDB: Waiting for the background threads to start
131216 22:40:27 InnoDB: 5.5.34 started; log sequence number 1609544
131216 22:40:27 [ERROR] /usr/sbin/mysqld: unknown variable 'default-character-set=utf8'
131216 22:40:27 [ERROR] Aborting
131216 22:40:27 InnoDB: Starting shutdown...
131216 22:40:27 InnoDB: Shutdown completed; log sequence number 1609544
131216 22:40:27 [Note] /usr/sbin/mysqld: Shutdown complete
131216 22:40:27 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
誰もがこの問題を解決するのを手伝ってくれますか、ありがとう!
ログ出力をフォーマットしてください
—
strauberry
これを設定し
—
マーカスアダムス
default-character-set
ましたmy.cnf
か?