1

请帮我解决这个问题。我已经尝试过删除和重新创建数据文件、刷新表、重新启动数据库和整个服务器。

InnoDB 处于强制恢复状态 = 4

>mysql -u root
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.5.16 MySQL Community Server (GPL)

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> use wotstats_info_gold;
Database changed
mysql> show tables;
Empty set (0.00 sec)

mysql> create table player_team_role ( id int(11) ) ;
ERROR 1050 (42S01): Table '`wotstats_info_gold`.`player_team_role`' already exists
mysql> drop table player_team_role;
ERROR 1051 (42S02): Unknown table 'player_team_role'
mysql> flush tables;
Query OK, 0 rows affected (0.00 sec)

mysql> create table player_team_role ( id int(11) ) ;
ERROR 1050 (42S01): Table '`wotstats_info_gold`.`player_team_role`' already exists
mysql>
4

1 回答 1

0

有时这种情况发生在 sql-mode PAD_CHAR_TO_FULL_LENGTH

于 2013-01-13T07:21:57.997 回答