Message from discussion
SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
Received: by 10.224.213.1 with SMTP id gu1mr5106627qab.7.1349351152912;
Thu, 04 Oct 2012 04:45:52 -0700 (PDT)
X-BeenThere: symfony2@googlegroups.com
Received: by 10.224.210.4 with SMTP id gi4ls4579301qab.2.gmail; Thu, 04 Oct
2012 04:45:38 -0700 (PDT)
Received: by 10.224.78.209 with SMTP id m17mr5121096qak.3.1349351138477;
Thu, 04 Oct 2012 04:45:38 -0700 (PDT)
Received: by 10.224.184.14 with SMTP id ci14msqab;
Wed, 3 Oct 2012 13:04:17 -0700 (PDT)
Received: by 10.236.35.229 with SMTP id u65mr394232yha.16.1349294657343;
Wed, 03 Oct 2012 13:04:17 -0700 (PDT)
Date: Wed, 3 Oct 2012 13:04:15 -0700 (PDT)
From: =?UTF-8?Q?Julio_C=C3=A9sar_Brizuela_Alvarado?= <brizuelaalvar...@gmail.com>
To: symfony2@googlegroups.com
Message-Id: <3a5bd549-a5c6-40a7-8f77-54a3755cd30b@googlegroups.com>
In-Reply-To: <2cc8d4cb-8c29-4b09-9aa9-90fe3341c97d@googlegroups.com>
References: <0df335d2-66d3-4828-a53f-2f3957122d30@googlegroups.com>
<89922A6A-254E-44D9-9AA0-1CF859734F15@gmail.com>
<2cc8d4cb-8c29-4b09-9aa9-90fe3341c97d@googlegroups.com>
Subject: Re: [Symfony2] SQLSTATE[28000] [1045] Access denied for user
'root'@'localhost' (using password: NO)
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_1124_16625702.1349294655936"
------=_Part_1124_16625702.1349294655936
Content-Type: multipart/alternative;
boundary="----=_Part_1125_20424157.1349294655936"
------=_Part_1125_20424157.1349294655936
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Try to enter mysql console like this:
mysql -u root -p
Then he will ask the pass and enter
if you manage to get in, is problem Symfony
El martes, 2 de octubre de 2012 08:43:01 UTC-6, ikerib escribi=C3=B3:
>
> Yes, it was. I delete them and try again, but still same problem.
> Thx
>
> On Tuesday, October 2, 2012 4:37:54 PM UTC+2, Tyler Sommer wrote:
>>
>> Is your password really wrapped in single quotes in parameters.yml? That=
=20
>> isn't necessary and I think would be translated to the string "'12345678=
'"=20
>> -- note the extra quote within the string.
>>
>>
>> Cheers
>>
>>
>> On Oct 2, 2012, at 6:59 AM, ikerib <ike...@gmail.com> wrote:
>>
>> Hi,
>>
>> I=C2=B4m working with symfony 2.1.2, FOSuserBundle, SonataAdminBundle,=
=20
>> SonataUserBundle and SonataMediaBundle. The problem is that I cannot acc=
ess=20
>> to my database and get this error.
>>
>> This is my parameters.yml
>>
>>> parameters:
>>> database_driver: pdo_mysql
>>> database_host: localhost
>>> database_port: null
>>> database_name: superlinea
>>> database_user: root
>>> database_password: '12345678'
>>> mailer_transport: smtp
>>> mailer_host: localhost
>>> mailer_user: null
>>> mailer_password: null
>>> locale: en
>>> secret: f4c89326a7c2d2fb848e84dc8b39ea92
>>> database_path: null
>>
>>
>> and this is my config.yml [ doctrine section: ]
>>
>>> doctrine:
>>> dbal:
>>> default_connection: default
>>> connections:
>>> default:
>>> driver: %database_driver%
>>> host: %database_host%
>>> port: %database_port%
>>> dbname: %database_name%
>>> user: %database_user%
>>> password: %database_password%
>>> charset: UTF8
>>> orm:
>>> auto_generate_proxy_classes: %kernel.debug%
>>> # auto_mapping: true
>>> # entity_managers:
>>> # default:
>>> # mappings:
>>> # ApplicationSonataMediaBundle: ~
>>> entity_managers:
>>> default:
>>> mappings:
>>> ApplicationSonataMediaBundle: ~
>>> ApplicationSonataUserBundle: ~
>>> SonataUserBundle: ~
>>> FOSUserBundle: ~
>>> dbal:
>>> types:
>>> json: Sonata\Doctrine\Types\JsonType
>>
>>
>> I checked to connect to mysql from my terminal using the credentials on=
=20
>> parameters.yml and it connects correctly.
>> I purged the cache and still it isn=C2=B4t taken the specified password.
>>
>> Any help?
>>
>> --=20
>> If you want to report a vulnerability issue on symfony, please send it t=
o=20
>> security at symfony-project.com
>> =20
>> You received this message because you are subscribed to the Google
>> Groups "Symfony2" group.
>> To post to this group, send email to symf...@googlegroups.com
>> To unsubscribe from this group, send email to
>> symfony2+u...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/symfony2?hl=3Den
>>
>>
>>
------=_Part_1125_20424157.1349294655936
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<div>Try to enter mysql console like this:</div><div><br></div><div>mysql -=
u root -p</div><div><br></div><div>Then he will ask the pass and enter</div=
><div><br></div><div>if you manage to get in, is problem Symfony</div><br>E=
l martes, 2 de octubre de 2012 08:43:01 UTC-6, ikerib escribi=C3=B3:<block=
quote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-le=
ft: 1px #ccc solid;padding-left: 1ex;">Yes, it was. I delete them and try a=
gain, but still same problem.<div>Thx<br><br>On Tuesday, October 2, 2012 4:=
37:54 PM UTC+2, Tyler Sommer wrote:<blockquote class=3D"gmail_quote" style=
=3D"margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"=
><div style=3D"word-wrap:break-word">Is your password really wrapped in sin=
gle quotes in parameters.yml? That isn't necessary and I think would be tra=
nslated to the string "'12345678'" -- note the extra quote within the strin=
g.<div><br></div><div><br></div><div>Cheers</div><div><br></div><div><br><d=
iv><div>On Oct 2, 2012, at 6:59 AM, ikerib <<a>ike...@gmail.com</a>> =
wrote:</div><br><blockquote type=3D"cite">Hi,<div><br></div><div>I=C2=B4m w=
orking with symfony 2.1.2, FOSuserBundle, SonataAdminBundle, SonataUserBund=
le and SonataMediaBundle. The problem is that I cannot access to my databas=
e and get this error.</div><div><br></div><div>This is my parameters.yml</d=
iv><div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex=
;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style=
:solid;padding-left:1ex">parameters:<br> database_driver: pdo_=
mysql<br> database_host: localhost<br> database_p=
ort: null<br> database_name: superlinea<br> datab=
ase_user: root<br> database_password: '12345678'<br> &nb=
sp; mailer_transport: smtp<br> mailer_host: localhost<br> =
; mailer_user: null<br> mailer_password: null<br> =
locale: en<br> secret: f4c89326a7c2d2fb848e84dc8b39ea<=
wbr>92<br> database_path: null</blockquote></div><div><br></di=
v><div>and this is my config.yml [ doctrine section: ]</div><div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width=
:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-lef=
t:1ex">doctrine:<br> dbal:<br> defa=
ult_connection: default<br> connections:<=
br> default:<br> &nbs=
p; driver: %database_driver%<br>&=
nbsp; host: =
%database_host%<br> =
port: %database_port%<br> &=
nbsp; dbname: %database_name%<br> =
user: %database_user%<br>&=
nbsp; password: %database_=
password%<br> charse=
t: UTF8<br> orm:<br> auto_gen=
erate_proxy_classes: %kernel.debug%<br> # auto_m=
apping: true<br> # entity_managers:<br> &n=
bsp; # default:<br> =
# mappings:<br> # &n=
bsp; ApplicationSonataMediaBundle: ~<br>=
entity_managers:<br> =
default:<br> =
mappings:<br>  =
; ApplicationSonataMediaBundle: ~<br> &nb=
sp; ApplicationSonataUserBundle: =
~<br> =
SonataUserBundle: ~<br> &nb=
sp; FOSUserBundle: ~<br> dbal:<br> =
types:<br> json: Son=
ata\Doctrine\Types\JsonType</blockquote></div><div><br></div><div>I checked=
to connect to mysql from my terminal using the credentials on parameters.y=
ml and it connects correctly.<br>I purged the cache and still it isn=C2=B4t=
taken the specified password.</div><div><br></div><div>Any help?</div><div=
><br></div>
-- <br>
If you want to report a vulnerability issue on symfony, please send it to s=
ecurity at <a href=3D"http://symfony-project.com" target=3D"_blank">symfony=
-project.com</a><br>
<br>
You received this message because you are subscribed to the Google<br>
Groups "Symfony2" group.<br>
To post to this group, send email to <a>symf...@googlegroups.com</a><br>
To unsubscribe from this group, send email to<br>
<a>symfony2+u...@googlegroups.com</a><br>
For more options, visit this group at<br>
<a href=3D"http://groups.google.com/group/symfony2?hl=3Den" target=3D"_blan=
k">http://groups.google.com/<wbr>group/symfony2?hl=3Den</a><br>
</blockquote></div><br></div></div></blockquote></div></blockquote>
------=_Part_1125_20424157.1349294655936--
------=_Part_1124_16625702.1349294655936--