Unable to create or update a Service


#1

I keep seeing when I try to enter credentials for either MSSQL or MySQL Services. I’m using the same credentials for the MySQL DB that I used in earlier versions and those worked fine.

Am I missing a configuration somewhere?

(I found this that seems promising: https://laracasts.com/discuss/channels/general-discussion/mcrypt-encrypt-key-of-size-12-not-supported-by-this-algorithm)


#2

Updating the APP_KEY environment variable resolves this problem. The docs suggest any random string there but it turns out it must be at least 16 characters.


#3

I believe php artisan key:generate would also create a key of an appropriate length.


#4

I didn’t try that but I’m sure you’re correct.