SQL error

Can't delete expired sessions — /var/www/gouloum.com/includes/session.php, line 81
Error n° 1046: No database selected
 
Query: DELETE FROM sessions WHERE session_resource = '11' AND TIMESTAMPDIFF(SECOND, session_updated, NOW()) > 7200