I would call media temple and ask if everything is ok. In addition I would try to log into your cpanel account and possibly try to use phpmyadmin to see if that is working. It could also be that the hosting provider has made adjustments on your server.
Intermittent database connection errors like this are usually nothing to worry about. Your host is probably performing maintenance. But if the error persists then you should contact your host as Dean suggests.