Skip to content
Discussion options

You must be logged in to vote

I believe that is possible now:

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
DB_COLLATION=utf8mb4_unicode_ci
DB_CHARSET=utf8mb4

and you can confirm the setting via tinker:

php artisank tinker
env("DB_COLLATION")
env("DB_CHARSET")

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nicolus
Comment options

@omarthegeek
Comment options

Answer selected by tanthammar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants