We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

DataSet Designer loses connection to MySQL

Medium Priority
616 Views
Last Modified: 2013-11-26
I'm working in Visual Studio 2008 on an app that uses strongly typed DataSets with MySQL as the backend.  It seems like the dataset designer is losing the connection to the database so when I try to update the dataset, it can't read the metadata (tables/fields/datatypes/etc) and I either have to manually fix the XSD or close and restart Visual Studio to get it to reconnect.  I think it has something to do with the idle connection timeout of the database (my DB client frequently complains that it lost the connection too, but at least it reconnects and continues on its way).  I don't know how to change the idle connection timeout or to force VS to reconnect without restarting altogether.  Can anyone offer any suggestions?
Comment
Watch Question

You could try increasing the timeout in the my.cnf file.

[mysqld]
wait_timeout = 1800
connect_timeout = 10

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Thanks!  That seems to have helped keep it from disconnecting.  For future reference, if anyone can tack on a method to reconnect without restarting my whole IDE, I'd love to know that too.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.