
AWS에서 mySQL로 Aurora를 실행하고 동일한 VPC의 관리 머신에서 액세스합니다. 명령줄(관리 머신)에서 쿼리를 실행하면 약 2분 안에 완료됩니다. MySQL Workbench에서 동일한 쿼리를 실행하면 몇 분 후에 다음 오류가 발생합니다.
오류 코드: 2013. 쿼리 중 MySQL 서버 연결이 끊어졌습니다.
mysql 명령줄이 관리 머신에서 실행되었음에도 불구하고 Aurora 인스턴스에서 직접 실행된다는 점에서 차이점이 있지 않을까요? 그렇다면 MySQL용으로 더 나은 시각적 인터페이스(Windows용)가 있습니까?
Workbench 시간 초과를 모두 발생시켰지만 시간 초과에 도달하기 훨씬 전에 쿼리가 실패하므로 이것이 문제라고 생각하지 않습니다.
+-------------------------------------------+----------+
| Variable_name | Value |
+-------------------------------------------+----------+
| aurora_fwd_master_idle_timeout | 60 |
| aurora_globaldb_rpo_wait_timeout | 60 |
| aurora_zdr_timeout_on_replica_fall_behind | 60 |
| connect_timeout | 10 |
| delayed_insert_timeout | 300 |
| have_statement_timeout | YES |
| innodb_flush_log_at_timeout | 1 |
| innodb_lock_wait_timeout | 50 |
| innodb_rollback_on_timeout | OFF |
| interactive_timeout | 28800 |
| lock_wait_timeout | 31536000 |
| net_read_timeout | 30 |
| net_write_timeout | 60 |
| rpl_stop_slave_timeout | 31536000 |
| slave_net_timeout | 60 |
| wait_timeout | 28800 |
+-------------------------------------------+----------+
mysql> SHOW GLOBAL STATUS LIKE 'aborted%';
+------------------+-------+
| Variable_name | Value |
+------------------+-------+
| Aborted_clients | 4 |
| Aborted_connects | 0 |
+------------------+-------+
2 rows in set (0.00 sec)
mysql>