LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Insert Data to MySQL table

Hi.Need help. I already created the tables and column fields in MySQL. Now i have a 1D Array which contain similar field in the MySQL table. Example DR1in the array is similar wit DR1 column name in the SQL table.
 
I have another array which contains the data for the column.
 
help me cos there is an error wit the coding.
 
0 Kudos
Message 1 of 7
(3,960 Views)

Hi jeyanthi,

can you upload your vi and maybe your txt file? Where do you get the error?

Mike

0 Kudos
Message 2 of 7
(3,947 Views)
the attachment of vi and text file
Download All
0 Kudos
Message 3 of 7
(3,928 Views)
Hi jeyanthi,
you get the error because you connect a txt file to the database open function. You can only connect udl or dsn.
See the attachment please, it makes the same as your vi. Smiley Happy
 
Hope it helps.
Mike
0 Kudos
Message 4 of 7
(3,893 Views)
thk u :womanhappy:
0 Kudos
Message 5 of 7
(3,880 Views)

Mike,

What is udl and dsn?

Mathan

0 Kudos
Message 6 of 7
(3,873 Views)