Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MySQL database hostname

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

like image 440
Simon Avatar asked Sep 09 '26 13:09

Simon


1 Answers

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

like image 185
Sobin Augustine Avatar answered Sep 12 '26 04:09

Sobin Augustine



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!