Copied forum to my webspace but am getting errors

Soldato
Joined
18 Oct 2002
Posts
17,897
Location
Cambridge
Warning: mysql_connect(): Access denied for user: '***' (Using password: ***) in /home/c/l/cliff_jodie_co_uk/CORE/forum/db/mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/c/l/cliff_jodie_co_uk/CORE/forum/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/c/l/cliff_jodie_co_uk/CORE/forum/db/mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database

I've literally just copied the /forum folder from the original site and copied it up to my webspace. Where should i start looking to fix it?
 
Ah not thinking properly, i guess you mean mysql4.php?

How do i recreate the database? Won't that wipe all the data?
 
go to phpmyadmin on the old site and export the database.

import it on new site.

not sure which config file you'll need to change, but almost all web apps have a file where datase variables are defined
 
The only option i have is to backup the database. I've done that but am unsure how to make it usable on my webspace.
 
Last edited:
Did you export it to txt files?

If so, you should be able to import it into the other database.
 
Yes it came down as a text file, how do i reimport it though if i'm getting the errors above every time i try and access it?
 
to re-import it, go to the new site go into your phpmyadmin, should be an option for SQL and browse to find your text file, and go!
 
Back
Top Bottom