我正在使用debian wheezy,我安装了mysql但是当我使用命令mysql -u root -p
登录mysql然后输入我的密码后,我看不到任何输出。根据日志文件,我已成功登录,但没有输出。
150605 20:12:29 40 Connect root@localhost on
40 Query select @@version_comment limit 1
150605 20:12:32 40 Query show databases
以下是登录时终端的输出图像。
http://i.imgur.com/o3XLuHu.png
并且syslog或daemon.log
中没有错误Jun 5 20:06:02 mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld.pid ended
Jun 5 20:06:02 mysqld_safe: Starting mysqld daemon with databases from /var/lib/mysql
Jun 5 20:06:02 mysqld: 150605 20:06:02 [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.
Jun 5 20:06:02 mysqld: 150605 20:06:02 [Note] /usr/sbin/mysqld (mysqld 5.5.43-0+deb7u1-log) starting as process 24810 ...
Jun 5 20:06:02 mysqld: 150605 20:06:02 [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.
Jun 5 20:06:02 mysqld: 150605 20:06:02 [Note] Plugin 'FEDERATED' is disabled.
Jun 5 20:06:02 mysqld: 150605 20:06:02 InnoDB: The InnoDB memory heap is disabled
Jun 5 20:06:02 mysqld: 150605 20:06:02 InnoDB: Mutexes and rw_locks use GCC atomic builtins
Jun 5 20:06:02 mysqld: 150605 20:06:02 InnoDB: Compressed tables use zlib 1.2.7
Jun 5 20:06:02 mysqld: 150605 20:06:02 InnoDB: Using Linux native AIO
Jun 5 20:06:02 mysqld: 150605 20:06:02 InnoDB: Initializing buffer pool, size = 128.0M
Jun 5 20:06:02 mysqld: 150605 20:06:02 InnoDB: Completed initialization of buffer pool
Jun 5 20:06:02 mysqld: 150605 20:06:02 InnoDB: highest supported file format is Barracuda.
Jun 5 20:06:02 mysqld: 150605 20:06:02 InnoDB: Waiting for the background threads to start
Jun 5 20:06:03 mysqld: 150605 20:06:03 InnoDB: 5.5.43 started; log sequence number 1595695
Jun 5 20:06:03 mysqld: 150605 20:06:03 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
Jun 5 20:06:03 mysqld: 150605 20:06:03 [Note] - '127.0.0.1' resolves to '127.0.0.1';
Jun 5 20:06:03 mysqld: 150605 20:06:03 [Note] Server socket created on IP: '127.0.0.1'.
Jun 5 20:06:03 mysqld: 150605 20:06:03 [Note] Event Scheduler: Loaded 0 events
Jun 5 20:06:03 mysqld: 150605 20:06:03 [Note] /usr/sbin/mysqld: ready for connections.
Jun 5 20:06:03 mysqld: Version: '5.5.43-0+deb7u1-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Debian)
Jun 5 20:06:04 /etc/mysql/debian-start[24868]: Upgrading MySQL tables if necessary.
Jun 5 20:06:04 /etc/mysql/debian-start[24871]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored
Jun 5 20:06:04 /etc/mysql/debian-start[24871]: Looking for 'mysql' as: /usr/bin/mysql
Jun 5 20:06:04 /etc/mysql/debian-start[24871]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
Jun 5 20:06:04 /etc/mysql/debian-start[24871]: This installation of MySQL is already upgraded to 5.5.43, use --force if you still need to run mysql_upgrade
Jun 5 20:06:04 /etc/mysql/debian-start[24882]: Checking for insecure root accounts.
Jun 5 20:06:04 /etc/mysql/debian-start[24887]: Triggering myisam-recover for all MyISAM tables
也许是Debian中的一个bug,但不确定。有什么建议?如何解决?