Posted by Anonymous on December 10, 2011 at 10:19pm
I know that we talked about this during the Drupal meet up, but I am having lots of issues uploading this website. I'm only supposed to move the database right? I keep getting this error message
SQL query:
--
-- Database: drupal
CREATEDATABASEdrupal
DEFAULTCHARACTERSET latin1 COLLATE latin1_swedish_ci;
MySQL said:
1044 - Access denied for user 'reefcove'@'localhost' to database 'drupal'
Comments
It sounds like the correct
It sounds like the correct database details are not correctly entered in your
settings.php
file living atsites/default/settings.php
. Have you double checked that file for the correct MySQL credentials?As a side note, when pasting code like that into these text fields, you'll want to wrap it in
<code>
tags so it doesn't get formatted incorrectly in these posts. It will be much easier for us to read. See what it looks like in your post now?Scott Rouse
http://about.me/scott.rouse
Actually, I just re-read your
Actually, I just re-read your post:
No, you need the entire docroot. If you are using a new Drupal installation, that usually means that moving the entire
sites
directory is appropriate. You'll then need to make the changes I referenced above tosites/default/settings.php
.Scott Rouse
http://about.me/scott.rouse
You may find some helpful
You may find some helpful tips at http://drupal.org/node/776864.
Scott Rouse
http://about.me/scott.rouse
Confused
I am not sure what you mean by database details, I just noticed that I have three settings: default.settings, settings and settings.php
That's a fairly basic step in
That's a fairly basic step in Drupal setup/installation so you should be able to find lots about that via google. The settings.php file tells Drupal how to connect to your database. You'll need to edit that file to contain the connection details for your new database. Look at the file. It's well commented.
Scott Rouse
http://about.me/scott.rouse
Issues
I finally figured out the database problem and was able to import it directly to the webhost. I've uploaded the site files but it doesn't seem to be working. Am I supposed to load them individually? Here's what I currently have. http://reeferscove.com/
You'll need everything that
You'll need everything that was in your docroot on the development site moved to the docroot on the live site. Then you'll edit the settings.php file (which you've done) in order to be able to allow Drupal to connect to the database. Then you'll import the database.
You've done most of those things since you're site is up. I'm not sure what it's supposed to look like, though. I don't really see any products.
Scott Rouse
http://about.me/scott.rouse