To use Nlatexdb with MySQL database and Mono (under Linux, MacOS, etc.), follow these steps:
Under Mono, you might have to add it to the machine.config file (whereas under Windows, this will be done automatically by the installer). Supposing you install the version 6.3.7, you should add this line to the machine.config file:
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.3.7.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
See here: http://stackoverflow.com/questions/3987266/mysql-connector-with-mod-mono-and-mono-2-6-7
Now, nlatexdb -P should show something like this:
Name:MySQL Data Provider
Description:.Net Framework Data Provider for MySQL
InvariantName:MySql.Data.MySqlClient
AssemblyQualifiedName:MySql.Data.MySqlClient.MySqlClientFactory,
MySql.Data, Version=6.3.7.0, Culture=neutral,
PublicKeyToken=c5687fc88969c44d
And then you should be able to connect to a MySQL database with an ordinary MySQL connection string, described here: http://www.connectionstrings.com/mysql
Although nlatexdb should work with any .Net runtime version 2.0 and above, it was reported that a command line like this was needed: mono --runtime=v4.0 nlatexdb.exe -p hello.tex