HI I need to know how to fine the mysql hostname in cpanel 11 i have hosting on lacehost{dot}com if any one can help plz pm me wat is my host name i will be very thankful THANKZ AND PLZ REPLY
If accessing it locally, it will be localhost. If remotely, you can access via the IP address or the server's hostname provided that it is a FQDN and there are DNS entries for the hostname. You will also need to create a user that has remote access to the mysql server.
If the database and web server are on a single box then the mysql host name would be localhost. In script, you can also use IP address of the server.