While the addon hasn't been updated recently, it should work. I use it all the time on linux, but not on Windows.
The library referenced on Windows is libmysql.dll (defined in libmysql_jddmysql_). Is that available? On Mon, Apr 1, 2019 at 6:40 AM bill lam <[email protected]> wrote: > I guess some client driver missing Anyways, this addon has not been > maintained for several years. You better download the data/odbc addons. It > should also work with mysql if you have installed its odbc driver. > > On Mon, Apr 1, 2019, 9:27 PM Francesco Pedulla' <[email protected]> wrote: > > > Dear all, > > this is the first time I try to connect the J interpreter to an external > > RDBMS, so it is likely I'm doing something wrong - unfortunately, I > cannot > > tell what... > > > > The PC I am using runs Windows 7 Enterprise SP1. The intepreter version > is > > J806. The RDBMS is mySQL 5.7, which I can easily connect to from the > > command line and check the sample databases. > > > > Here is the J code: > > > > load '~addons/data/ddmysql/ddmysql.ijs' NB. load database interface > > > > db =. '' conew 'jddmysql' NB. define short locale > > > > ConnStr =. 'database=world;uid=root;pwd=mypwd101' NB. connection string > > > > ch =. ddcon__db ConnStr NB. get connection handler > > > > > > The value of "ch" I get is _1, hence there was an error. Issuing > > > > > > dderr__db '' > > > > I get the following error > > > > > > ISI16 Shared library error > > > > > > Any hint on which library can be involved? > > > > > > Thanks in advance for your help, > > > > > > Francesco > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
