[erlang-questions] Can't connect to mysql

Anton Krasovsky anton.krasovsky@REDACTED
Wed Jul 8 23:30:07 CEST 2009

Try that one http://code.google.com/p/erlang-mysql-driver/

Also make sure your mysqld does not have skip-networking set, as it
works over TCP/IP only.


On Wed, Jul 8, 2009 at 9:01 PM, Michael Terry<formido@REDACTED> wrote:
> I'm trying to connect to a mysql database like so:
> C = "Driver={MySQL ODBC 3.51
> Driver};Server=sub.domain.com;Database=db_name;User=db_user;Password=my_password;Option=3;".
> odbc:connect(C, []).
> ...and all I get is:
> {error,"No SQL-driver information available. Connection to database failed."}
> I can connect to the db from mysql client. I've been over the server
> address, user, and password many, many times. I'm on CentOS and have
> unixODBC-devel and mysql-connector-odbc installed. I can't think what
> else to try to troubleshoot.
> What are possible causes for this? Is there a native erlang mysql
> adapter somewhere? I couldn't find one with examples or documentation.
> Michael
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org

More information about the erlang-questions mailing list