roxen.lists.pike.general

Subject Author Date
need help with mysql Go Fast <fastgo[at]gmail[dot]com> 23-10-2009
I have an issue with mysql on pike when clone Sql.Sql object.

string connection = "mysql://localhost/testdb";
Sql.Sql db = Sql.Sql(connection);

The error is

Failed to index module Sql.mysql or Sql.Provider.mysql.
/usr/local/pike/7.8.316/lib/modules/Sql.pmod/Sql.pike:281:
    Sql.Sql()->create("localhost","testdb",UNDEFINED,"CENSORED",UNDEFINED)

Pike version 7.8.316. OS -- Fedora 11

Same query on my windows machine works just fine with pike version v7.6.66

Any idea how can I get around the issue? Thanks in advance.