Well...
Ok , what am i doing wrong? I downloaded the faucet script, have a registered domain and hosting from GoDaddy. Updated the config.php with required information and it gives me an error:
Can't connect to database. Check your config.php.
This is my config file below. Godaddy says that the dbhost name should be my IP address from the CPanel. I have tried using localhost as the dbhost but still no luck, with localhost all i get is a blank screen
Anyone managed to configure the script and using Godaddy hosting? Help!!
Ok , what am i doing wrong? I downloaded the faucet script, have a registered domain and hosting from GoDaddy. Updated the config.php with required information and it gives me an error:
Can't connect to database. Check your config.php.
This is my config file below. Godaddy says that the dbhost name should be my IP address from the CPanel. I have tried using localhost as the dbhost but still no luck, with localhost all i get is a blank screen
Code:
<?php
$dbhost = "<IP addy>";
$dbuser = "username";
$dbpass = "password";
$dbname = "Test";
$display_errors = false;
$connection_options = array(
'disable_curl' => false,
'local_cafile' => false,
'force_ipv4' => false // cURL only
);
// dsn - Data Source Name
// if you use MySQL, leave it as is
// more information:
// http://php.net/manual/en/pdo.construct.php
$dbdsn = "mysql:host=$<IP addy>;dbname=$Test";
Anyone managed to configure the script and using Godaddy hosting? Help!!
in cpanel you will have to make a database connection first of all in mysql and input the information in your config file
$dbhost = "<IP addy>";
$dbuser = "username";
$dbpass = "password";
$dbname = "Test";
these will have to be changed inside the bracket to information on your database