• Advertisement
Sign in to follow this  

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

This topic is 2062 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

[color=#000000][font=verdana, arial, sans-serif]

I have a game server running on Amazon EC2 (Amazon Linux)[/font][color=#000000][font=verdana, arial, sans-serif]


I have a MySQL database called pathogen[/font][color=#000000][font=verdana, arial, sans-serif]


I connect using MySQL Connector ODBC:[/font][color=#000000][font=verdana, arial, sans-serif]


DRIVER = {MySQL ODBC 5.1 Driver}; SERVER = localhost; PORT = 3306; DATABASE = pathogen; UID = root; PWD = ...;[/font][color=#000000][font=verdana, arial, sans-serif]


The error I get is:[/font][color=#000000][font=verdana, arial, sans-serif]


[UnixODBC] [Driver Manager] Data source name not found, and no default Driver Specified
IM002[/font][color=#000000][font=verdana, arial, sans-serif]


This worked fine on Windows. Do I have to change "MySQL ODBC 5.1 Driver"? Why can't it find the data source?[/font]

Share this post


Link to post
Share on other sites
Advertisement
Fixed

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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement