Archive: query mySQL db


query mySQL db
is it possible to use nsis to query a mysql database and use detailprint to report the entries in the nsis status. if this works via a tool i can execute using nsExec that'd do the job aswell. the thing is that i don't know how to get the query results to the status window.


I don;t know what a mysql databas eis like, but if it's just a file, then would FileRead and some string manipulation function calls in a loop do the trick?

-Stu


not quite the same, but I've done some things with vbscript to query an access database and then pass the values to NSIS either by INI file or some other method...just an idea


Maybe you should just use the mysql.exe to issue queries (hopefully you can do this) and capture the output using nsexec. Otherwise you'll have to write a plugin or System code.


Originally posted by Dick4
not quite the same, but I've done some things with vbscript to query an access database and then pass the values to NSIS either by INI file or some other method...just an idea
Can you share this code. I am trying to query a MS Access database in NSIS