What host name/server name should I use to call out a MySQL database from a script?

To use a MySQL database on your website with PHP, Perl or another scripting language, you will need to connect to it first. The host name/server name for connecting to a database on our servers is "localhost".

 

Also be sure to check that you are using the correct "database name", "username" and "password".



  • 0 Users Found This Useful
Was this answer helpful?
Related Articles
Copyright © 2020 PlusPlusHosting.Net. All Rights Reserved.
2Checkout.com is an authorized reseller of goods and services provided by PlusPlusHosting.Net.