Jump to content

Handle Max_User_Connection?


mabaomsi

Recommended Posts

I have another idea for you. Rather than your visual basic program connecting directly to the database, why not have your program connect to a php file and the php file can connect to the database? Php actually knows how to close mysql connections.

Link to comment
Share on other sites

The close action on vb.net doesn't work how you think it does. It leaves the connections open behind the scenes even after you tell it to close them. If it closed them like other languages, you wouldn't be having this issue.

 

PHP actually closes them when you tell it to close them.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...