Skip to main content

setting up new server, transferring sites over

2 replies [Last post]
User offline. Last seen 1 week 5 days ago. Offline
Joined: 01/26/2010
Posts:
Points: 0

well, my old harddrive was shot pretty bad so i finally got a new drive.  i setup windows tonight and have xampp (apache, etc) again.  i need to get my websites started up again.

 

 

so here we go, i moved the sites form drive A to drive B.  i can't yet get them to respond via localhost, yet.

 

for my local sales & trade site, I get the following error: 

PDOException: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES) in lock_may_be_available() (line 167 ofC:\xampp\htdocs\drupal\phswap\includes\lock.inc).

 

I don't know what to do or where to go from here.  hope someone is in overnight to lend a hand. 

0
Your rating: None
User offline. Last seen 10 hours 25 min ago. Offline
Joined: 01/24/2010
Posts:
Points: 0
Groups: Developers
Your database credentials are

Your database credentials are incorrect.

By default, xampp does not use a password for the root account. So you need to edit your sites/default/settings.php and set the password to blank OR add a password to your root mysql account (through phpMyAdmin) that equals what is setup in your sites/default/settings.php right now.

User offline. Last seen 1 week 5 days ago. Offline
Joined: 01/26/2010
Posts:
Points: 0
 thanks for chiming in,

 thanks for chiming in, batty.  i should have posted that i solved the problem but i got swamped in other stuff (baby son, etc)

i tried the settings.php file as i found to do on google, but it didnt do anything.  i wound up, easily enough just having to set the password via "security" in my xampp dashboard, as you also list as an option.  :)