Re: Timeout parameter for MySqlConnection?
Posted by: Gene Holmerud
Date: June 27, 2017 05:10PM

Found it! The MySQLCommand() statement needs a second argument, namely the MySQLConnection variable ("connect" in my case). The issue was reported here:
https://stackoverflow.com/questions/31316322/connection-must-be-valid-and-open-vb-net

Oh, also, my SELECT statement was bad. I took the original example too literally! My bad.

Thanks again for the help!

Options: ReplyQuote


Subject
Written By
Posted
Re: Timeout parameter for MySqlConnection?
June 27, 2017 05:10PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.