0

So I decided to setup an Openshift server with Laravel. I ran into some complications and posted this question

How to configure Laravel 5.2 on Openshift?

I go back to it and realized I messed up a lot of stuff setting it up and really the problem was within the .env file. Now it seems like everything else is working except for my databases.

What I have been doing to test Laravel on Openshift is using the make:auth command, so I can test migrations and stuff like that. However, I do feel like I have setup database configurations properly, because when I ran migrations through the cli everything was setup properly (users and password_resets table showed up in the mysql database) no errors through there. Now when I try to register a user using the register page I get this error:

Database Error

Database Error 2

I've tried editing the database.php file, .env configurations, google, but I just can't find a fix. Maybe the solution is staring me in the eyes, but I'm blinder than a bat. Any help would be very much appreciated. I can provide any information needed.

Community
  • 1
  • 1

1 Answers1

0

You should set and check environment variables for database on web console.

Or you can follow the lucho2d7/openshift-quickstart-laravel5.2.

John Huang
  • 1,298
  • 10
  • 14