Bug #118611 Creating an InnoDB table with a CONNECTION clause should not be allowed
| Submitted: | 9 Jul 2025 4:40 | Modified: | 9 Jul 2025 8:25 |
|---|---|---|---|
| Reporter: | Jericho Arturo Rivera | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: DDL | Severity: | S3 (Non-critical) |
| Version: | 8.4, 8.0.42 | OS: | Linux |
| Assigned to: | CPU Architecture: | Any |
[9 Jul 2025 8:25]
MySQL Verification Team
Hello Jericho Arturo Rivera, Thank you for the report and feedback. regards, Umesh
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.046 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: Creating an InnoDB table with a CONNECTION clause should not be allowed. Currently, it will work, and the InnoDB table will work with no apparent errors or warnings sent to the error log for DML statements. ``` mysql> show create table test_table\G *************************** 1. row *************************** Table: test_table Create Table: CREATE TABLE `test_table` ( `id` int NOT NULL AUTO_INCREMENT, `c` char(10) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci CONNECTION='mysql://federated:federated@198.19.249.193:3306/federated/test_table' 1 row in set (0.02 sec) ``` How to repeat: Create an InnoDB table with the CONNECTION clause. Suggested fix: Return an error.