I don't think this has anything to do with Doctrine at all: this is a known
quirk of ext-pdo.
On Mon, 19 Nov 2018, 22:15 David Stokes One of our developers informed me that libmysql and all derived clients
> interpret "localhost" to mean "don't use TCP/ip, but Unix domain socket"
>
> Is there anyway i can add this to the documentation?
>
> On Monday, November 19, 2018 at 12:42:04 PM UTC-6, David Stokes wrote:
>>
>> Hi All,
>>
>> I am using Doctrine with MySQL 8.0.13 and ran into what looks like
>> something odd to me. I am using an account that authenticates with mysql
>> native authentication (not SHA256 caching) and kept seeing an connection
>> refused message until
>> I changed the *.env *file from DATABASE_URL=mysql://account:password@
>> *127.0.0.1*:3306/databasename to DATABSE_URL=mysql://account:password@
>> *localhost*:3306/databasename .
>>
>> My /etc/hosts points 127.0.0.1 to localhost.
>>
>> Could someone please explain to me why the s/127.0.0.1/localhost/ is a
>> material difference here?
>>
>> Thanks!
>>
> --
> You received this message because you are subscribed to the Google Groups
> "doctrine-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to doctrine-user+unsubscr...@googlegroups.com.
> To post to this group, send email to doctrine-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/doctrine-user.
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to doctrine-user+unsubscr...@googlegroups.com.
To post to this group, send email to doctrine-user@googlegroups.com.
Visit this group at https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.