1046 - No database selected

SELECT * FROM `ost_media` WHERE media_id = 1085

[TWE SQL Error]