Jump to content

  • Log In with Google      Sign In   
  • Create Account


[UnixODBC] [Driver Manager] Data source name not found, and no default driver specified


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 polyfrag   Crossbones+   -  Reputation: 1744

Like
0Likes
Like

Posted 29 June 2012 - 07:27 PM

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?


Sponsor:

#2 polyfrag   Crossbones+   -  Reputation: 1744

Like
0Likes
Like

Posted 29 June 2012 - 07:29 PM

Is there a mailing list I can ask this? UnixODBC?

#3 polyfrag   Crossbones+   -  Reputation: 1744

Like
0Likes
Like

Posted 29 June 2012 - 07:50 PM

I have mysql-connector-odbc installed

#4 Dragonsoulj   Crossbones+   -  Reputation: 2009

Like
0Likes
Like

Posted 29 June 2012 - 08:24 PM

What language are you using to connect to it with?

#5 polyfrag   Crossbones+   -  Reputation: 1744

Like
0Likes
Like

Posted 30 June 2012 - 11:54 AM

C/C++

Compiled with g++

#6 polyfrag   Crossbones+   -  Reputation: 1744

Like
0Likes
Like

Posted 01 July 2012 - 04:07 PM

Fixed

Needed to set up a datasource in /etc/odbc.ini and then call the datasource with DSN=...;UID=root;PWD=...;




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS