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

[appserver-io/appserver] MySQL datasources permission denied #770

Closed
wick-ed opened this issue Apr 29, 2015 · 5 comments
Closed

[appserver-io/appserver] MySQL datasources permission denied #770

wick-ed opened this issue Apr 29, 2015 · 5 comments

Comments

@wick-ed
Copy link
Member

wick-ed commented Apr 29, 2015

There seems to be a problem when using the datasource mechanism in combination with a MySQL database.

@wick-ed wick-ed added the bug label Apr 29, 2015
@wick-ed wick-ed added this to the Release 1.1.0 "Iron Knight" milestone Apr 29, 2015
@wolv-dev
Copy link

My datasource configuration and using the latest webserver.io 1.0.4 and runtime 1.0.5

<?xml version="1.0" encoding="UTF-8"?>
<datasources xmlns="http://www.appserver.io/appserver">
    <datasource name="database.database">
        <database>
            <driver>pdo_mysql</driver>
            <user>user</user>
            <password>password</password>
            <databaseName>database</databaseName>
        <path></path>
        </database>
    </datasource>
</datasources>

Error message is

{"error":{"message":"An exception occured in driver: SQLSTATE[HY000] [2002] Permission denied"}}

htuscher added a commit to htuscher/appserver that referenced this issue Apr 30, 2015
htuscher added a commit to htuscher/appserver that referenced this issue Apr 30, 2015
@htuscher
Copy link
Contributor

Because the merge is done, this ticket can be closed as the "Permission denied" resulted from a missing dbname connection parameter

@wick-ed
Copy link
Member Author

wick-ed commented Apr 30, 2015

Can any of you ( @hhoechtl , @a-winter ) verify this with a test?

@htuscher
Copy link
Contributor

I already verified this with the example webapp. @a-winter will probably sometime today when he tries do provision his doctrine models.

@wick-ed
Copy link
Member Author

wick-ed commented Apr 30, 2015

Great, thanks :)

@wick-ed wick-ed closed this as completed Apr 30, 2015
zelgerj pushed a commit that referenced this issue Apr 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants