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

BluePrint not authenticating logins, Latest MySQL installed #33

Closed
ghost opened this issue Jun 30, 2016 · 9 comments
Closed

BluePrint not authenticating logins, Latest MySQL installed #33

ghost opened this issue Jun 30, 2016 · 9 comments
Labels

Comments

@ghost
Copy link

ghost commented Jun 30, 2016

I was uable to get BluePrint to work on the login/auth using the latest MySQL download from oracle, new install. Not sure if it has anything to do with but the sql script to create the DB seems to not like the null default values for timestamps so I had to change those to 0 to get the script to run. I can create a user and verify the user exists in the user table in mysql but re-entering the login info does not work.

-FYI I was able to get mywebapp to work on the same system so not sure what is different between the two.

@josephspurrier
Copy link
Member

What OS are you on?

@josephspurrier
Copy link
Member

I just tested with MySQL 5.7.13 x64 on Windows 10 and it worked fine. I used HeidiSQL to apply the SQL from database/migration/20160630_020000_a.up.sql and the authentication piece works. Are you accessing via http://localhost?

@ghost
Copy link
Author

ghost commented Jul 3, 2016

8.1 Pro I believe. I will check on 10 ent then.
I think I was using 127.0.0.1 IP - I will have to go back and check now. (may be a week I'm out on vacay)

@ghost
Copy link
Author

ghost commented Jul 3, 2016

yes 127.0.0.1 - Also I notice that a fresh install of Mysql doesnt accept the a.up script, due to default values being null for deleted_at and other timestamps. I had to zero those out to get the script to run so I wonder if that could be a part of of the problem?

@josephspurrier
Copy link
Member

Ah, interesting. It looks like MySQL < 5.6.6 sets timestamp as NOT NULL by default. I updated the 'up' script to explicitly set them to accept NULL. Can you try now?

8f55ee3

@josephspurrier
Copy link
Member

And that's fine about vacation, no rush! Happy 4th!

@josephspurrier
Copy link
Member

I just tested with the latest versions of MySQL 5.6 and 5.7 (on Ubuntu and the Linux AMI).
The latest instructions are here: https://github.com/blue-jay/blueprint/wiki

@josephspurrier
Copy link
Member

@Zenthunder Have you been able to test the script?

@josephspurrier
Copy link
Member

Closing. Please reopen if you're still having an issue.

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

1 participant