How to check MySQL database size

To check MySQL database size, log into MySQL server and run the following command:

SELECT table_schema “Data Base Name”, sum( data_length + index_length ) / 1024 / 1024 “Data Base Size in MB” FROM information_schema.TABLES GROUP BY table_schema ;

 

 

Export/Import Putty sessions from registry

Putty sessions and settings are saved in the registry. To Export them, run the following command in Windows command prompt:

regedit /e “%userprofile%\desktop\putty-registry.reg” HKEY_CURRENT_USER\Software\Simontatham

 

A file will be saved. Copy that file into destination computer and run it by double clicking on it to import the settings.