You need to make sure you have your credentials. If cPanel : Note: Hostname : localhost DB user and password (If not sure about user/pw look for /wp-config.php file and find it there)
Steps: 1. Get your local IP using http://www.whatsmyip.org/ 2. Go to cPanels page look for "Remote MySQL" Clcik it. 3. Add your IP 4. Open your MySQL Workbench >Database> Connect to DB> Method: Standard TCP/IP Use the DB credentials on the above note.