www-data is the user that Apache uses.  You need to chmod / chown your
symfony project folder.  If you are not concerned about security just
"sudo chmod 777 entire_project_folder".  Obviously in a real
production environment you will need to think through appropriate
security permissions.

On Nov 18, 5:44 am, Bor1s <[email protected]> wrote:
> Hello all, i am a beginner on symfony and i try to do the jobeet
> tutorial.
> All seem to be good as far as the final part of day 2 when i try to do
> a new module.
>
> When i try to access at my module's url 
> (http://localhost/frontend_dev.php/myModule
> ) i have an connexion error :
> [code]PDO Connection Error: SQLSTATE[28000] [1045] Access denied for
> user 'www-data'@'localhost' (using password: YES)[/code]
>
> Even so all work fine; doctrine building all work fine, my database is
> created..
> Normally my user for mysql is "root" but in error message "www-data"
> is user..
>
> my database.yml :
> [code]all:
>   doctrine:
>     class:        sfDoctrineDatabase
>     param:
>       dsn:        mysql:dbname=mydbname;host=localhost
>       username:   root
>       password:   mypwd
> [/code]
>
> I don't understand ... can you help me ?

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to