Skip to main content
Tweeted twitter.com/StackDrupal/status/848564373769433089
edited tags
Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284
added 219 characters in body
Source Link
rfc1484
  • 437
  • 1
  • 4
  • 12

I'm trying to set up a development folder for a Drupal6 already existing website.

Under htdocs/sites/<website>/settings.php I have the following line in order to connect to the drupal6 DB:

$db_url = 'mysql://root:<mysql_password>@localhost/<drupal_db_name>';

If I try to enter mysql using the same login data, I can do it without any problems, so I know this data is correct.

But I still keep getting the "Site off-line" message.

I've also tried using settings.php in the "default" folder under htdocs/sites/, but it didn't solve the problem.

Any suggestions of what could I try in order to fix or debug this?

UPDATE: I have not taken the site down through admin. I've taken the folder from a production server (where it's working correctly), and I've placed it into another server. I've also made the same thing with the DB.

I'm trying to set up a development folder for a Drupal6 already existing website.

Under htdocs/sites/<website>/settings.php I have the following line in order to connect to the drupal6 DB:

$db_url = 'mysql://root:<mysql_password>@localhost/<drupal_db_name>';

If I try to enter mysql using the same login data, I can do it without any problems, so I know this data is correct.

But I still keep getting the "Site off-line" message.

I've also tried using settings.php in the "default" folder under htdocs/sites/, but it didn't solve the problem.

Any suggestions of what could I try in order to fix or debug this?

I'm trying to set up a development folder for a Drupal6 already existing website.

Under htdocs/sites/<website>/settings.php I have the following line in order to connect to the drupal6 DB:

$db_url = 'mysql://root:<mysql_password>@localhost/<drupal_db_name>';

If I try to enter mysql using the same login data, I can do it without any problems, so I know this data is correct.

But I still keep getting the "Site off-line" message.

I've also tried using settings.php in the "default" folder under htdocs/sites/, but it didn't solve the problem.

Any suggestions of what could I try in order to fix or debug this?

UPDATE: I have not taken the site down through admin. I've taken the folder from a production server (where it's working correctly), and I've placed it into another server. I've also made the same thing with the DB.

Source Link
rfc1484
  • 437
  • 1
  • 4
  • 12

Site off-line with correct data in settings.php

I'm trying to set up a development folder for a Drupal6 already existing website.

Under htdocs/sites/<website>/settings.php I have the following line in order to connect to the drupal6 DB:

$db_url = 'mysql://root:<mysql_password>@localhost/<drupal_db_name>';

If I try to enter mysql using the same login data, I can do it without any problems, so I know this data is correct.

But I still keep getting the "Site off-line" message.

I've also tried using settings.php in the "default" folder under htdocs/sites/, but it didn't solve the problem.

Any suggestions of what could I try in order to fix or debug this?