mabaomsi Posted October 14, 2017 Author Share Posted October 14, 2017 Okay, but is really possible to connect to a database from another IP-s in the same time with one "Cpanel" account? Quote Link to comment Share on other sites More sharing options...
Krydos Posted October 14, 2017 Share Posted October 14, 2017 Yes, there is no limit to the number of IPs that can connect to a database. The limitation is on the maximum number of simultaneous open connections regardless of what IP or localhost they come from. Quote Link to comment Share on other sites More sharing options...
mabaomsi Posted October 15, 2017 Author Share Posted October 15, 2017 Okay, so need to close all the connections, all the time.Thanks for your great help! Nave a nice day! 😀 Quote Link to comment Share on other sites More sharing options...
Krydos Posted October 15, 2017 Share Posted October 15, 2017 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. Quote Link to comment Share on other sites More sharing options...
mabaomsi Posted October 17, 2017 Author Share Posted October 17, 2017 Aham... but vb.net knows its too. So i think i can create sqlconn.close, so the close property is available here too. Quote Link to comment Share on other sites More sharing options...
wolstech Posted October 17, 2017 Share Posted October 17, 2017 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. Quote Link to comment Share on other sites More sharing options...
mabaomsi Posted October 19, 2017 Author Share Posted October 19, 2017 Ok thanks for your great help. I try to use php config. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.