[support] databse error

V S Punn admin at raunharman.net
Thu Dec 15 10:40:34 UTC 2005


Today I am getting this error:
Parse error: parse error, unexpected T_STRING in 
/home/httpd/vhosts/raunharman.co.in/httpdocs/drupal/sites/default/settings.php 
on line 102

All the settings in settings.php are as you had told.

Varinder
----- Original Message ----- 
From: "Jason Flatt" <drupal at oadae.net>
To: <support at drupal.org>
Sent: Wednesday, December 14, 2005 18:56
Subject: Re: [support] databse error


> On Wednesday 14 December 2005 01:32, V S Punn wrote:
>> Dear Mr. Jason,
>> Thank you for your mail.
>> I changed the setting as per your instructions, but still the same 
>> problem.
>> Access denied for user 'drupal'@'localhost' (using password: NO)
>>
>> Please suggest.
>>
>> Regards,
>>
>> V S Punn
>
> Are you sure you have this:
> $db_url = 'mysql://drupal:123456@localhost/drupal';
>
> and not this:
> $db_url = 'mysql://drupal@localhost/drupal';
>
> and that the information in each field is correct, as in the file's given
> example:
> $db_url = 'mysql://username:password@localhost/database';
>
> The part of your error that says "(using password: NO)" suggests you have 
> left
> out the password part of the $db_url variable.
>
> -- 
> Jason Flatt
> http://www.oadae.net/
> jason at oadae.net
> -- 
> [ Drupal support list | http://lists.drupal.org/ ] 



More information about the support mailing list