Author

Topic: HELP Can't connect to database. Check your config.php (Read 613 times)

legendary
Activity: 994
Merit: 1000
I can set it up for you for tips or only for help. I am quite experienced coder. Pm me i will help you step by step.
full member
Activity: 197
Merit: 100
np, but please do the following:

- change your cpanel password
- change your db password
- change your script admin password
- change your faucetbox API KEY
(in this order)

so I won't be held responsible if someone hacks you
sr. member
Activity: 405
Merit: 251
thanks FaucetRank.com and mavenraven, I hope u lucky and get rich quick
sorry can't give you anything, newbie and fool lol
full member
Activity: 197
Merit: 100
not work, I will send my username and password
login here https://server5.steadyturtle.com:2083/

ok, thanks for the trust, I will not abuse it, but it's really not a good idea to send your passwords to random strangers on internet, just a tip for the future
It doesn't matter,I believe u
ty

FaucetRank.com was right, just use "localhost".

it's done, go and see.
sr. member
Activity: 405
Merit: 251
not work, I will send my username and password
login here https://server5.steadyturtle.com:2083/

ok, thanks for the trust, I will not abuse it, but it's really not a good idea to send your passwords to random strangers on internet, just a tip for the future
It doesn't matter,I believe u
ty
hero member
Activity: 868
Merit: 500
dbhost = localhost
I see your username and dB host is same please correct this problem.

$dbhost = "localhost";
$dbuser = "ezaepw_2";
$dbpass = "******";
$dbname = "ezaepw_1";

try this...
$dbhost = "67.227.228.188";
$dbuser = "ezaepw_2";
$dbpass = "..........";
$dbname = "ezaepw_1";
not work, I will send my username and password
login here https://server5.steadyturtle.com:2083/

Why are you put dbhost=ip address

simply use localhost word and never give c panel pass to anyone just try to get live help from hosting provider if you still can't do.

use this $dbhost = "localhost";
$dbuser = "ezaepw_2";
$dbpass = "..........";
full member
Activity: 197
Merit: 100
not work, I will send my username and password
login here https://server5.steadyturtle.com:2083/

ok, thanks for the trust, I will not abuse it, but it's really not a good idea to send your passwords to random strangers on internet, just a tip for the future
sr. member
Activity: 405
Merit: 251
dbhost = localhost
I see your username and dB host is same please correct this problem.

$dbhost = "localhost";
$dbuser = "ezaepw_2";
$dbpass = "******";
$dbname = "ezaepw_1";

try this...
$dbhost = "67.227.228.188";
$dbuser = "ezaepw_2";
$dbpass = "..........";
$dbname = "ezaepw_1";
not work, I will send my username and password
login here https://server5.steadyturtle.com:2083/
hero member
Activity: 868
Merit: 500
dbhost = localhost
I see your username and dB host are same please correct this problem.
It could be localhost, though you would also possibly need to put in a custom URL depending on your host. It will say on your MySQL settings within your cPanel.
you're right but Generally local host works .
full member
Activity: 197
Merit: 100
dbhost = localhost
I see your username and dB host is same please correct this problem.

$dbhost = "localhost";
$dbuser = "ezaepw_2";
$dbpass = "******";
$dbname = "ezaepw_1";

try this...
legendary
Activity: 2352
Merit: 1268
In Memory of Zepher
dbhost = localhost
I see your username and dB host are same please correct this problem.
It could be localhost, though you would also possibly need to put in a custom URL depending on your host. It will say on your MySQL settings within your cPanel.
hero member
Activity: 868
Merit: 500
dbhost = localhost
I see your username and dB host is same please correct this problem.
sr. member
Activity: 405
Merit: 251
try changing your db_user and db_name around ? from what you posted it looks like you've mistaken them
change it to what?
Iam so noob
full member
Activity: 197
Merit: 100
try changing your db_user and db_name around ? from what you posted it looks like you've mistaken them
sr. member
Activity: 405
Merit: 251
help me please, im having problem with steadyturtle.com hosting
i get this message on the site "Can't connect to database. Check your config.php."
This is the faucet site

Database     Size            Privileged Users
ezaepw_1     0.00 MB    ezaepw_2    


config.php

$dbhost = "ezaepw_1";
$dbuser = "ezaepw_2";
$dbpass = "******";
$dbname = "ezaepw_2";
$display_errors = false;
$disable_admin_panel = 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=$dbhost;dbname=$dbname";


thanks  Cry
Jump to: