If a SQL database has "special" characters in the name the db file name is different. Therefore using the find command to come up with the list of databases isn't a good idea.
Need to use MySQL to give the correct schema names.
mysql -uroot -p -BNe 'select schema_name from information_schema.schemata;'
If a SQL database has "special" characters in the name the db file name is different. Therefore using the find command to come up with the list of databases isn't a good idea.
Need to use MySQL to give the correct schema names.