Laravel MySQL connection compression?

Posted 8 months ago by jmar83

Hi there

How to enable MySQL connection compression on Laravel 5.4.x? (I still use PHP 5.6.x) Is that possible? Maybe it's already enabled by default, maybe..?

However, i can't see any options in .ENV file, no MySQL compression true/false or something like that.

When i use PHP mysqli, instead of Laravel MySQL access libraries, then i'm able to enable MySQL connection compression. (I also do that in WordPress, which uses mysqli)

My 2nd question: How can i remove the my gravatar pic as profile picture? I don't want it there...

Thank you for your feedbacks!

With best regards, Jan

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.