gpt4 book ai didi

Mysql 1050 后跟 1051

转载 作者:行者123 更新时间:2023-11-30 23:31:29 28 4
gpt4 key购买 nike

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

InnoDB 处于 Force Recovery = 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>

最佳答案

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

关于Mysql 1050 后跟 1051,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10394214/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com