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

Access denied error when running demo app for the first time #2

Open
kat-liger opened this issue Jun 13, 2018 · 0 comments
Open

Access denied error when running demo app for the first time #2

kat-liger opened this issue Jun 13, 2018 · 0 comments

Comments

@kat-liger
Copy link

I am trying to run the GraphQLDemoApp for the first time, so I downloaded the repo and run the command:

php bin/console server:start

I am getting the correct (error) response to 'http://127.0.0.1:8000/graphql' but when I am trying to specify query, this is what I get:

| => curl -XPOST 'http://127.0.0.1:8000/graphql' -F 'query={ todos { id } }'
{
    "errors": [
        {
            "message": "An exception occured in driver: SQLSTATE[HY000] [1045] Access denied for user \u0027root\u0027@\u0027localhost\u0027 (using password: YES)"
        }
    ]
}

What am I missing here?

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

1 participant