Most scripts need to know four things about your database: the database name, database username, password, and hostname. The database name always has the following form: ControlPanelUsername_DatabaseName, where ControlPanelUsername is the username you use to access the control panel. The DatabaseName is the name you have given to the database from the MySQL database menu. For example, if your username for the control panel is “gary”, and then creates a new name such as “count”, the database name will be: gary_count. The database username has this form: ControlPanelUsername_DatabaseUserName. The database password is created during the creation of a database. The password must be different from your control panel password. The script needs the database password to be able to change the database. The hostname tells the script where it can access the database. Usually, it is designated as a “localhost” because the script and databases are located on the same server. If the script doesn’t allow you to enter a text in the hostname configuration, you’ll need to go to your site’s IP address.
Note:
After you have created a database, a screen will automatically appear with an overview of all the information. Use the values from this overview for your script configuration.