LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MySQL connection

Hello experts,
I want to make a connection to MYSQL installed on the server. 

 

I developed the following program. But it doesn't work. 

 

has anyone an idea?

 

 

Sina6611_0-1723465409787.png

 

 

0 Kudos
Message 1 of 4
(226 Views)

We know you love code images instead of attaching actual VIs. In this case, your image is completely useless because we can't even tell the contents of the controls or where things are connected (overlapping wires!).

 


@Sina6611 wrote:

But it doesn't work. 

 


There are billions of ways something "does not work", so provide details (error, wrong result, no result, program crashes, computer bursts into flames, etc.).

0 Kudos
Message 2 of 4
(197 Views)

@Sina6611 wrote:

Hello experts,
I want to make a connection to MYSQL installed on the server. 

 

I developed the following program. But it doesn't work. 

 

has anyone an idea?

Sina6611_0-1723465409787.png

 

 


What do you expect the VI should do?

What I see is a VI which outputs a string to a 'Database_Command' indicator, then the VI tries to connect to a local database and closes the connection immediately. I do not see any command transferred to the database.

What error do you receive?

0 Kudos
Message 3 of 4
(186 Views)

Tools > Create Data Link...
connection information needs to be data link (UDL file) or DSN

0 Kudos
Message 4 of 4
(167 Views)