07-09-2009 02:26 PM
Hi!
I'm trying to store data from LabVIEW in a MySQL database, I've foloved the folowing procidure (http://digital.ni.com/public.nsf/allkb/47A8CF66D5E3C8CC8625720A006139D6) and it all works fine. But then, I would like to be able to put my path to my DSN in a string so that I do not have to specifie it every time I run the program. They say that you can do that in the last sentence of the tutorial, but I cant find my specific path. I did exactly as it sad in the tutorial, do anybody know how I can find thise address?
Solved! Go to Solution.
07-09-2009 03:59 PM
Hi ollef,
you can only specify the path to your dsn file. Maybe this link helps to do what you need.
Mike
07-10-2009 10:39 AM
ollef,
Hello! Following that Tutorial you linked allows you to create at User DSN and according to the documents below isn't actually a file, but information stored in a registry. So, when using the DB Tools Open Connection VI you would wire a string control into the Connection Information Input of the VI with the Data Source Name of the User DSN that you created in Step 6 of the tutorial.
What Is the Difference between a System DSN, a User DSN, a File DSN, Universal Data Link (UDL), and ...
Database Source Name