MySQL
User 'leopompevcmvc' has exceeded the 'max_questions' resource (current value: 64000)
Query
select
t.table_name as name,
table_rows as rowCount,
data_length as dataLength,
index_length as indexLength,
t.engine as `engine`,
t.table_collation as `collation`,
t.table_comment as `comment`,
ifNull(_t.title, '') as title,
ifNull(_t.defaultOrder, '') as defaultOrder,
ifNull(_t.defaultSens, '') as defaultSens,
ifNull(_t.isLinked, 1) as isLinked,
ifNull(_t.masterName, '') as masterName,
ifNull(_t.adminCanSelect, 0) as adminCanSelect,
ifNull(_t.adminCanInsert, 0) as adminCanInsert,
ifNull(_t.adminCanUpdate, 0) as adminCanUpdate,
ifNull(_t.adminCanDelete, 0) as adminCanDelete
from information_schema.tables t
left join `leopompevcmvc`.`table` _t on _t.tableName = substr(t.table_name, 1)
where
t.table_schema = 'leopompevcmvc' &&
t.table_name like '%' &&
t.table_name = 'productImage'
limit 1