Maximum length of a table name in MySQL
It's 64 characters. The documentation shows these limits:
Identifier Maximum Length (characters)
Database 64
Table 64
Column 64
Index 64
Constraint 64
Stored Procedure or Function 64
Trigger 64
View 64
Alias 256
Compound Statement Label 16
Names for databases, tables, columns, and indexes can be up to 64 characters long. Alias names can be up to 256 characters long.
64 characters according to this.