use information_schema;
SELECT CONCAT('RENAME TABLE ', TABLE_SCHEMA, '.', TABLE_NAME, ' TO ', TABLE_SCHEMA, '.', CONCAT(UCASE(LEFT(TABLE_NAME, 1)),LCASE(SUBSTRING(TABLE_NAME, 2))), ';')
FROM information_schema.tables
WHERE `TABLE_SCHEMA` = "lykowudn_test";