I have a mysql database with about 8 tables that all begin with a capital letter. Any quick way to lowercase them all? Or even one by one… if i try this, RENAME TABLE Contacts TO contacts it says ERROR 1050 (42S01): Table 'contacts' already exists
I have a mysql database with about 8 tables that all begin with a
Share
Use two renames – first to a temp name and then to the lowercased:
and then
Of course, you should be careful not to try using an already existing table name, but if you initially had tables ‘Contacts’ and ‘contacts_’ I’d say you have way more serious problems than the case.