Sunday, 6 February 2011

What hostname do I use to connect to my MySQL database?

To connect to your MySQL database using a PHP script, you will need the following information:

  • Database Name: The database ID would have been assigned at the time you created the database via phpMyAdmin in the Netfirms Control Panel.  It is typically d########.
  • Username: The username to your database would have been configured at the time you created the database via phpMyAdmin in the Netfirms Control Panel.  It is typically u#######.
  • Password: The password to your database would have been configured at the time you created the database via phpMyAdmin in the Netfirms Control Panel.
  • Hostname: The host name will be MYSQLHOST.

Please follow the steps below to obtain your database connection details:

  1. Login to your Control Panel.
  2. Click Hosting.
  3. Choose Databases.
  4. Click MySQL.
  5. Click on the “+” button beside the database.
  6. You will see all the connection details under the Connection tab.
  7.    netfirms.com   source

6 comments:

  1. Database Name: The database ID would have been assigned at the time you created the database via phpMyAdmin in the Netfirms Control Panel. Hostgator coupon

    ReplyDelete
  2. This blog is nice and very informative. I like this http://tophostingtm.com/review-8-hostsoch.html blog. Please keep it up.

    ReplyDelete
  3. This is a most interesting and informative blog. Keep it up. cloud computing training in chennai

    ReplyDelete
  4. Offshore Hosting By #1 Trusted Offshore Host Provider. http://www.offshorededicated.net

    ReplyDelete
  5. Bulletproof Hosting is only facilitating your site or application with a far away Datacenter area on outside nation for facilitating sites/applications that are having copyrighted substance, DMCA content, Hacking sites, grown-up substance, and warez facilitating, and so on to get protection, security, and opportunity.

    ReplyDelete
  6. Offshore Dedicated Server is nothing but hosting your website, data or application to a far-off Datacenter location from your place of origin.

    ReplyDelete