hi,

I have uploaded my drupal site to my host.
I have set up a server and used phpmyadmin to import the .sql file.
Logging on I read:

Site off-line

The site is currently not available due to technical problems.

Is there an obvious solution to this?

Thanks in advance for any advice, help.

Comments

shadcn’s picture

Hi

please read http://drupal.org/getting-started/install and how to set up the database part. if you having problems i can help you from there.

i think your problem is related to settings.php in files/default. check that you have set the correct values for

$db_url = 'mysql://username:password@localhost/databasename';

i am not a programmer’s picture

I've had a go at changing the code in the settings.php file.
I don't think I'm filling in the password@localhost correctly.
Do I insert the server code: (my_password)@(server addressi.e 208.334.etc )

Thanks again,

shadcn’s picture

Find the line

$db_url = 'mysql://username:password@localhost/databasename';

let says my
username : wydle
password : 1234567drupal
host : localhost
databasename : drupal_test

then the line shud be

$db_url = 'mysql://wydle:1234567drupal@localhost/drupal_test';
i am not a programmer’s picture

That's great. thank you. It's now up and running.