Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support / Docs for Symfony Flex projects #101

Open
tarlepp opened this issue Sep 7, 2017 · 2 comments
Open

Support / Docs for Symfony Flex projects #101

tarlepp opened this issue Sep 7, 2017 · 2 comments

Comments

@tarlepp
Copy link
Contributor

tarlepp commented Sep 7, 2017

Currently within Symfony Flex projects doctrine configuration is like:

doctrine:
    dbal:
        url: '%env(DATABASE_URL)%'

Where this DATABASE_URL env is eg. mysql://[email protected]:3306/symfony?charset=utf8mb4&serverVersion=5.7

With this database creations won't work as expected because of https://github.com/liuggio/fastest/blob/master/adapters/Doctrine/DBAL/ConnectionFactory.php#L27-L31

@DonCallisto
Copy link
Collaborator

@tarlepp could you try to work on this?

@ndench
Copy link

ndench commented Sep 5, 2019

I got around this by not using the url parameter:

                url: ~
                dbname: test_app
                host: 127.0.0.1
                user: root
                password: root

However, I still had a problem with missing phpunit dependencies because phpunit is installed separately by symfony phpunit-bridge 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants