This topic is locked

odbc_connect(): SQL error

5/13/2008 5:38:32 AM
PHPRunner General questions
U
uludag author

Hi,

I created a project on localhost with phprunner. My database is msaccess. Then I uploaded it to the server.

When I tried to reach it, I encountered an error saying:

odbc_connect(): SQL error: [unixODBC][Driver Manager]Data source name not found, and no default driver specified, SQL state IM002 in SQLConnect


in

public_html/kitap/include/dbconnection.php


it says in "solution":

This is a general error. It occurs when thereis an error in event code or in SQL.


Any idea of what I did wrong!
Thanks in advance.

Admin 5/13/2008

Hi,
MS Access databases work on Windows-based hostings only.

Either switch to Windows hosting or select another database. MySQL for example.

U
uludag author 5/13/2008

Thank you, Alexey.

Sincerely,

Uludag.