I have created a MySQL database and a table via cPanel on a web server of mine. My question is this: How can I access this Database and Table from a Visual Basic.net application?

What do I use as the host address? The http address to the web server is http://www.canninginc.co.nz

有帮助吗?

解决方案

If you are trying to connect to MySQL from a remote location (for example from your computer), please use these instructions:

  1. Use the IP address of your hosting account as your MySQL hostname. Your IP address can by found on the left hand column when you login to cPanel.

  2. Please add your computer IP address to the cPanel -> Remote MySQL section. You can check the computer IP address at http://www.tracemyip.org/

  3. Use either the MYSQL username / password that was created in cPanel -> MYSQL section, or your cPanel login details to connect to the database

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top