What hostname should be used to call out a database from a script? Scott Devaney February 13, 2018 21:12 Follow The hostname for connecting to a database can be found by logging into the control panel. Also be sure to check that you are using the correct “database name”, “username” and “password”. Related articles How do I migrate a database using phpMyAdmin? Comments 0 comments Article is closed for comments.