500 Internal error after SQL queries to db

Earlier today I was running some SQL queries in cpanel. I must have had a bad SQL command because it seemed to just go into a loop. So, I ended the task. Then when I tried to login to our Piwik Reports, I got this error. I welcome any suggestions for what to do to remedy this. Thanks!
Internal Server Error

"The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator,

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

please ask your web hosting provider for more information as this is a server issue