Bitcoin Forum
November 03, 2024, 06:46:26 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: HELP Can't connect to database. Check your config.php  (Read 607 times)
ezajavo (OP)
Sr. Member
****
Offline Offline

Activity: 405
Merit: 251



View Profile
January 04, 2016, 04:40:06 PM
Last edit: January 04, 2016, 06:11:34 PM by ezajavo
 #1

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
<?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
mavenraven
Full Member
***
Offline Offline

Activity: 197
Merit: 100


View Profile
January 04, 2016, 04:44:18 PM
 #2

try changing your db_user and db_name around ? from what you posted it looks like you've mistaken them
ezajavo (OP)
Sr. Member
****
Offline Offline

Activity: 405
Merit: 251



View Profile
January 04, 2016, 04:54:41 PM
 #3

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
FaucetRank.com
Hero Member
*****
Offline Offline

Activity: 868
Merit: 500



View Profile WWW
January 04, 2016, 04:55:37 PM
 #4

dbhost = localhost
I see your username and dB host is same please correct this problem.

  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
  .SCAMMERS.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  .EXPOSED.
.
▄▄▄▄▄▄▄▄
  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
minifrij
Legendary
*
Offline Offline

Activity: 2352
Merit: 1268


In Memory of Zepher


View Profile WWW
January 04, 2016, 04:57:26 PM
 #5

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.
mavenraven
Full Member
***
Offline Offline

Activity: 197
Merit: 100


View Profile
January 04, 2016, 04:58:16 PM
 #6

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...
FaucetRank.com
Hero Member
*****
Offline Offline

Activity: 868
Merit: 500



View Profile WWW
January 04, 2016, 04:59:50 PM
 #7

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 .

  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
  .SCAMMERS.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  .EXPOSED.
.
▄▄▄▄▄▄▄▄
  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
ezajavo (OP)
Sr. Member
****
Offline Offline

Activity: 405
Merit: 251



View Profile
January 04, 2016, 05:08:43 PM
 #8

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/
mavenraven
Full Member
***
Offline Offline

Activity: 197
Merit: 100


View Profile
January 04, 2016, 05:10:53 PM
 #9

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
FaucetRank.com
Hero Member
*****
Offline Offline

Activity: 868
Merit: 500



View Profile WWW
January 04, 2016, 05:20:26 PM
 #10

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 = "..........";

  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
  .SCAMMERS.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  .EXPOSED.
.
▄▄▄▄▄▄▄▄
  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
ezajavo (OP)
Sr. Member
****
Offline Offline

Activity: 405
Merit: 251



View Profile
January 04, 2016, 05:24:43 PM
 #11

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
mavenraven
Full Member
***
Offline Offline

Activity: 197
Merit: 100


View Profile
January 04, 2016, 05:32:51 PM
 #12

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.
ezajavo (OP)
Sr. Member
****
Offline Offline

Activity: 405
Merit: 251



View Profile
January 04, 2016, 05:42:14 PM
 #13

thanks FaucetRank.com and mavenraven, I hope u lucky and get rich quick
sorry can't give you anything, newbie and fool lol
mavenraven
Full Member
***
Offline Offline

Activity: 197
Merit: 100


View Profile
January 04, 2016, 05:47:05 PM
 #14

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
~Bitcoin~
Legendary
*
Offline Offline

Activity: 994
Merit: 1000



View Profile
January 04, 2016, 05:58:14 PM
 #15

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.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!