ODBC information is wrong, or else you've just setted it wrong. I would suggest you to check again your ODBC information maybe even set it up again to make sure you've made everything right !
Hope u give me the full log of the error log , But what i think it's an error in ur database not in db connection , cuz it's fail to execute the query not fail to connect or find .