alter table上的mysql超时

myzjeezk  于 2021-06-23  发布在  Mysql
关注(0)|答案(0)|浏览(351)

我正在使用mysql工作台。我有一个很小的表(3800行),我正在运行以下查询:

alter table tournaments MODIFY COLUMN director_address CHAR(250);

20秒后出现以下错误:
错误代码:2013。查询过程中与mysql服务器失去连接。
我试过更改几个设置,但没有设置为20秒,所以我不明白为什么它会在20秒内断开连接。
我已经去编辑->首选项和设置所有的超时为600。当我看到会话超时时,没有什么是短的。
有人能帮忙吗??
对于每个请求,这是show create table tournaments的输出;
创建表 tournaments ( id mediumint(9)非空自动增量, tournament_master_id mediumint(9)不为空, name char(75)不为空, start_dt 日期不为空, days_in_tournament tinyint(4)不为空, season_id mediumint(9)不为空, playing_site char(100)默认为空, playing_address char(100)默认为空, city char(50)不为空, state 字符(2)不为空, zip char(10)默认为空, director char(50)不为空, phone_number char(15)默认为空, email_address char(80)默认为空, director_address char(200)默认为空, co_director1 char(50)默认为空, co_director2 char(50)默认为空, charity_name char(50)默认为空, charity_donation mediumint(9)默认为空, other_event1 char(200)默认为空, other_event2 char(200)默认为空, other_event3 char(200)默认为空, other_event4 char(200)默认为空, other_info char(200)默认为空, need_banner tinyint(4)默认为空, scorecard1_games mediumint(9)默认为空, scorecard1_quantity mediumint(9)默认为空, scorecard2_games mediumint(9)默认为空, scorecard2_quantity mediumint(9)默认为空, guideline_agreement tinyint(4)默认为空, is_sanctioned tinyint(4)默认为空, flyer_name char(200)默认为空, is_flyer_approved tinyint(4)默认为空, created_at 日期时间默认当前时间戳, updated_at 更新当前时间戳时datetime默认为空, reported_on 日期默认为空, is_posted tinyint(4)默认值“0”, is_complete tinyint(4)默认值“0”,主键( id ))引擎=innodb自动增量=7337默认字符集=拉丁1
另外,如果有关系(?)我正在本地机器上运行workbench,并连接到数据库所在的网络解决方案服务器。其他查询执行得很好。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题