How do I find used or free space in a TEMPORARY tablespace

Unlike normal tablespaces, true temporary tablespace information is not listed in DBA_FREE_SPACE

Instead use V$TEMP_SPACE_HEADER view

SQL>SELECT tablespace_name, SUM (bytes_used), SUM (bytes_free) 
FROM V$temp_space_header
GROUP BY tablespace_name

How to fix: ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)

Open your terminal and type mysql -u root -p Enter your password. Hopefully your MySQL is logged in now.