Implementation of Doctrine 2.5 in Laravel 5.1 using mysql database configuration

Asked

Viewed 90 times

2

I started using the recently and managed to configure almost everything, but when configuring the database, soon after the installation of Doctrine, it returns me this error:

SQLSTATE[3D000]: Invalid.

Apparently he’s connecting to the database, but he can’t find the database I set up.

That is correct:

  • Database.
  • Access credentials to the bank.
  • Configured file . env.
  • Clean Artisan configuration cache.

Basically everything I found in other questions I’ve asked, but nothing solves.

Does anyone have any suggestions of what I can do?

  • You could not use the very ORM of the Eloquent? The Eloquent.

  • I would like to use Doctrine, because in addition to having more knowledge and mastery over it, it offers some options more than the native. But I gave up and decided to start using the same Standard. Unfortunately there is nowhere, enough documentation explaining the use...

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.