Could not connect to the database.SQL query error

Query: SET NAMES UTF8
Message:
Code: 0