Error

Status
Not open for further replies.

Reesey

New Member
Messages
101
Reaction score
0
Points
0
Hey again is me. got alot of files uploaded and wesbite is ready to be running, i am getting the same error as 110mb, but there asnwer was "pay"
do i need to ask to have my account activated with my SQL?

the error is


Unable to establish connection to MySQL
1045 : Access denied for user 'nobody'@'localhost' (using password: NO)
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
You need to install the script or edit the config.php file in order for those to change. Please read the install documentation that came with your script.
 

Reesey

New Member
Messages
101
Reaction score
0
Points
0
mmm thats the thing i dont have the sciprt. basically i have taken over a wesbite from friend. all i have is the files from the previous wesbite. i only know where to put them and get everything sorted from there. getting it set up, to be honnnest i dont have a clue lol. so anyone help me out please!
Edit:
my config files says the following


<?php
// database settings
$db_host="localhost";
$db_user="Reeseybo_otl";
$db_pass="*****";
$db_name="Reeseybo_otl";
$db_prefix="fusion_";
define("DB_PREFIX", "fusion_");
?>

anyone know what i got to change?
 
Last edited by a moderator:

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Well if you don't have the database that goes with the site you're pretty much out of luck and will have to do a fresh install of the software.

-Corey
 

Reesey

New Member
Messages
101
Reaction score
0
Points
0
corey i have the database i just dont know what to change. ^^^ above is my edited version showing my config.php. any help with that?
Edit:
my maincore relates to config.php with this

// Locate config.php and set the basedir path
$folder_level = "";
while (!file_exists($folder_level."config.php")) { $folder_level .= "../"; }
require_once $folder_level."config.php";
define("BASEDIR", $folder_level);

// If config.php is empty, activate setup.php script
if (!isset($db_name)) redirect("setup.php");


please. any ideas what i need to do?
 
Last edited:

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Did you restore the database?
 

Reesey

New Member
Messages
101
Reaction score
0
Points
0
i basically took every file from my old datebase and have put it on here (i did a backup on my provider) and am useing those files, what i need to change on here to get it working i have no idea, really need some help with this.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
How did you 'get every file' from your old database? Did you export it ? Where are these database files on your account so I can look?
 

Reesey

New Member
Messages
101
Reaction score
0
Points
0
basically i created a backup. then downloaded the backup onto my hardrive. then took all the files out of the backup and uploaded them onto here, most of the files are in public_html
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Okay unless you made a backup of the database it wouldn't be in your regular files. The databases are stored elsewhere on the server. If you didn't restore your database or don't know what I'm talking about you probably didn't get a backup of it. I'll look in your public_html for one though.

-Corey
 

Reesey

New Member
Messages
101
Reaction score
0
Points
0
there is a config.php other wise i dunna what your talking about. sorry im new to alot of this, so did u find anything corey?
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
hi,

I don't see any type of database backups on your account. I'm not sure how to explain this, if you have MSN please PM me your address and I'll try to explain on there.

-Corey
 

Reesey

New Member
Messages
101
Reaction score
0
Points
0
hey corey any luck after our chat on msn?
im on msn from 3:00pm GMT time, if u need to chat tomoz, and will be on forums throughout day, be really great to get my wesbite up and running soon. cheers mate Rees
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
You need to login to your PHPMyAdmin and import your .SQL file . You won't learn anything if I do this for you =P
 

GG-Xtreme

New Member
Messages
430
Reaction score
0
Points
0
A database isn't files, it's a bunch of data tables that have rows and columns containing your site's data, including messages, users, etc., that can be updated and modified at any time by a script. When you backup a database, it will export all the data into a .sql text file, that is really just a list of SQL commands to recreate the database, row by row, column by column. If you don't have the .sql file, you don't have the database. You can import .sql files in PHPMyAdmin. Note that x10 does not support gzip compression, so keep that in mind when you set backup options.
 

Reesey

New Member
Messages
101
Reaction score
0
Points
0
ok i have the file, but stupid school has filterd out the file manager for some reason.so shall have a go with it when i get home, will i have to edit anything in it? or just upload it and i be fine?
 
Status
Not open for further replies.
Top