Hi.

For permission an the owner properties:

sudo chown -R yourUserName.yourUserGroup smyfony_project/

The -R option is to change the whole dir and subdirs and files from your
project directory.

sudo chmod -R 777 symony_project/

Again -R is for the same purpose.

2010/11/28 Nicolas Hurman <mwk...@gmail.com>

> This has nothing to do with file permissions. Does the command line work ?
> (doctrine load fixtures etc)
>
>
> On Sun, Nov 28, 2010 at 5:47 PM, dmitrypol <dmitry...@gmail.com> wrote:
>
>> 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 <galina.sebast...@gmail.com> 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 symfony-users@googlegroups.com
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en
>>
>
>  --
> 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 symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to