How can I add prefix to all tables in mysql using query.
For example:
I need to add \"dr_\" in all tables which are available in mysql database.
Run all queries that you get from running this query:
SELECT Concat('ALTER TABLE `', TABLE_NAME, '` RENAME TO `dr_', TABLE_NAME, '`;') FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = '';