Go Back   Computer Forums > General Computing > Server Administration
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 01-12-2011, 12:13 PM   #1
Baseband Member
 
Join Date: Feb 2010
Posts: 86
Default Help transferring Wordpress!

Ok, I USED to have a Debian server with my whole website on it in Wordpress. This took me forever to configure, but then the server decided to stop booting, so I grabbed /var/www and /var/bin/mysql (i think that was it) onto a flash drive, and left the server.

Flash-foward to a couple weeks later, and my Pentium 4 server has died, and I have to use a Pentium III that linux refuses to work on correctly, so I am running Windows Server 2003 Enterprise with Wampserver2.

I copied /www from the flashdrive onto the wampserver /www, and put the mysql database files into their proper folders, but now when I visit my website i get "cannot connect to database".

Any ideas?
__________________

Tandyman100 is offline   Reply With Quote
Old 01-12-2011, 01:16 PM   #2
In Runtime
 
Join Date: Jan 2011
Posts: 277
Default Re: Help transferring Wordpress!

have you created the database and give the grant access as per your wp configuration file?
__________________

sahabcse is offline   Reply With Quote
Old 01-12-2011, 01:55 PM   #3
Baseband Member
 
Join Date: Feb 2010
Posts: 86
Default Re: Help transferring Wordpress!

I don't entirely understand you. I'm a total nooblet at this, so I'm a little clueless here. I need to go into some wordpress config file and find what it's using to log into the database, then go into phpmyadmin and create that user with those credentials that has read/write access to the wordpress database?
Tandyman100 is offline   Reply With Quote
Old 01-12-2011, 02:01 PM   #4
In Runtime
 
Join Date: Jan 2011
Posts: 277
Default Re: Help transferring Wordpress!

yes you are right.....Go to wp-config.php and look the login credential create the DB and grant access to the user. Then import your old database into it.
sahabcse is offline   Reply With Quote
Old 01-12-2011, 02:16 PM   #5
Baseband Member
 
Join Date: Feb 2010
Posts: 86
Default Re: Help transferring Wordpress!

Wait, import it? I don't have an exported backup. I have the *actual* database files. I can just drop those in, right?

Sounds easy enough to fix </famous_last_words>

Thanks for the help!
Tandyman100 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 03:13 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0