Mysql 1050后跟1051

时间:2012-05-01 06:09:44

标签: mysql mysql-error-1050 mysql-error-1051

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

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>

1 个答案:

答案 0 :(得分:0)

有时会发生sql-mode PAD_CHAR_TO_FULL_LENGTH