Permission to directory in /var/www

Jordon Bedwell jordon at
Thu Aug 4 16:50:38 UTC 2011

On 04/08/11 11:48, Amrit Pal Pathak wrote:
> But it left me with another issue.Now it is accessing the directory but showing 
> the another mysql's error .
> I have mysql installed and have sudo access on it.The database is imported in 
> mysql which this directory would use but dont know why it is giving the 
> following error.
> Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using 
> password: YES) in /var/www/GNDEC-SMS-Service/functions.php on line 13

You got your password wrong, make sure it's right in your settings.

More information about the ubuntu-users mailing list