[unixODBC-support] [unixODBC][Driver Manager]Data source name not found, and no default driver specified

Nick Gorham nick at lurcher.org
Sat Jun 30 20:16:24 BST 2012


On 30/06/2012 20:11, Denis Ivanov wrote:
> I have a game server running on Amazon EC2 (Amazon Linux)
>
> I have a MySQL database called pathogen
>
>
> I connect using MySQL Connector ODBC:
>
>
> DRIVER={MySQL ODBC 5.1 
> Driver};SERVER=localhost;PORT=3306;DATABASE=pathogen;UID=root;PWD=...;
>
>
> The error I get is:
>
>
> [unixODBC][Driver Manager]Data source name not found, and no default 
> driver specified
> IM002
>
>
> This worked fine on Windows. Do I have to change "MySQL ODBC 5.1 
> Driver"? Why can't it find the data source?
>
>
> I have mysql-connector-odbc installed
>

First thing to check is that the drive name matches whats in 
/etc/odbcinst.ini

I would try and create a DSN first and get that working with isql first.

-- 
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20120630/13265fcc/attachment.html>


More information about the unixODBC-support mailing list