Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.
Daily Diamond

Can someone help me fix my site?

Status
Not open for further replies.
Domain Days 2024

KwelX

The Godfather
Legacy Exclusive Member
Joined
May 23, 2004
Messages
745
Reaction score
0
it could be a few things.

1st make sure mysql is running and not hung.
Then check to make sure ur db is still there and that user and password is setup for access rights.

It's probably just one of those reasons.
 

KwelX

The Godfather
Legacy Exclusive Member
Joined
May 23, 2004
Messages
745
Reaction score
0
the password needs to be the same as it's called in the script. the script will look something like below:

$mysqlbase="DB_name"; // MySQL database name
$mysqluser="SQL_User"; // MySQL database user
$mysqlpass="SQL_Password"; // MySQL user password

just make sure they are the same as what you have as an actual db, user and password.
 

KwelX

The Godfather
Legacy Exclusive Member
Joined
May 23, 2004
Messages
745
Reaction score
0
there is no set place for that info. it will either be in the begining of your script or in a config file.

you want to make sure that matches up with your actual db setup.
 

KwelX

The Godfather
Legacy Exclusive Member
Joined
May 23, 2004
Messages
745
Reaction score
0
the best place to start is where the error is:

/home/creditc/public_html/functions/db_connect.php on line 8 <---
Cannot connect to the database

When it says:

(Using password: YES)

That just means that there is supposed to be a password set. Not that the password is YES.
 

jdk

DNF Addict
Legacy Exclusive Member
Joined
Jul 23, 2004
Messages
6,350
Reaction score
24
Cannot connect to the database

Make sure your db login details are correct on your script and you have assigned the correct permissions for the user to the database. This is done within your control panel.
 

jdk

DNF Addict
Legacy Exclusive Member
Joined
Jul 23, 2004
Messages
6,350
Reaction score
24
In your control panel there should be a backup option. You can either generate a backup or download the current days backup. There should be an option to download the database backup too.
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members Online

Sedo - it.com Premiums

IT.com

Premium Members

Premium Members

MariaBuy

Our Mods' Businesses

UrlPick.com

*the exceptional businesses of our esteemed moderators

Top Bottom