Uploading a website

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Anonymous's picture

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

CREATEDATABASEdrupalDEFAULTCHARACTERSET latin1 COLLATE latin1_swedish_ci;

MySQL said:

1044 - Access denied for user 'reefcove'@'localhost' to database 'drupal'

Comments

It sounds like the correct

scottrouse's picture

It sounds like the correct database details are not correctly entered in your settings.php file living at sites/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?

Actually, I just re-read your

scottrouse's picture

Actually, I just re-read your post:

I'm only supposed to move the database right?

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 to sites/default/settings.php.

You may find some helpful

scottrouse's picture

You may find some helpful tips at http://drupal.org/node/776864.

Confused

QUARTZ45's picture

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

scottrouse's picture

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.

Issues

QUARTZ45's picture

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

scottrouse's picture

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.

Western Montana

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week