I recently made a rather stupid mistake and corrupt my Ubuntu installation. To resolve it, I booted with a live cd and copied the database files over. However, now I have copied the folders from the old installation into the new one, whenever I type "use database_name" it just freezes on this:
mysql> use my_database_name; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A
And then freezes without giving the terminal.