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

Mysql #1

Open
patchido opened this issue Oct 17, 2017 · 3 comments
Open

Mysql #1

patchido opened this issue Oct 17, 2017 · 3 comments

Comments

@patchido
Copy link

how do i make this framework work with mysql?

@patchido
Copy link
Author

i changed the settings.php on the api to this
'db' => [ 'dsn' => 'mysql:host=localhost;dbname=bookshelf;charset=utf8', 'user' => 'notes', 'pass' => 'notes' ], then ran the migrate and made the databse itself, then i ran the inserts, had to change some columsn to from date to datetime. but the info is on the db now. For some reason i get the error

{
"error": "invalid_client",
"error_description": "This client is invalid or must authenticate using a client secret"
}

when trying to auth by password, i did add "password" on the grant_type on the database row, but yet i get that error.

on the other side when doing the auth via the website i get to the login page but when i sumbit it i get a slim error.

Call to a member function addMessage() on null

@akrabat
Copy link
Owner

akrabat commented Mar 12, 2018

on the other side when doing the auth via the website i get to the login page but when i sumbit it i get a slim error.

Call to a member function addMessage() on null

This is fixed by #3.

@gg-ballin
Copy link

Has this been solved? I need to use mysql in order to run this project. Thank you very much for this repo!

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