[erlang-questions] Can't connect to mysql

Robert Raschke rtrlists@REDACTED
Thu Jul 9 10:42:55 CEST 2009


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."}
>

Try adding the option {scrollable_cursors, off} . I've had to add this in
most of my connections. Not sure this'll "fix" it but worth a try.

Robby


More information about the erlang-questions mailing list