How to Reset MySQL 5.7 Root Password (Even If You Don't Know the Old Password)
Jason Jason Photo Jason Jason, Sep 20, 2017

I can't remember the last time I changed the root password for MySQL, and since I use a program called Sequel Pro to manage all my databases, I rarely (if ever) need to type in my root password anymore. But the day finally came when I needed the root password and I couldn't find it anywhere! What to do? Here are the commands that I used to reset my password in MySQL 5.7 Step 1 sudo service mysql stop Step 2 mysqld_safe --skip-grant-tables & The only problem was that this returned an error, something like this: 2017-09-21T02:39:03.691092Z mysqld_safe Logging to '/var/log/mysql/error.log'. 2017-...

Continue reading this post
Configuring PHP 7 and Apache For Use With Laravel 5 After Upgrading to Ubuntu 16.04 LTS
Jason Jason Photo Jason Jason, Aug 22, 2016

Ubuntu 16.04 LTS is finally being supported as the official stable release of Ubuntu, and the exciting part is that it ships with PHP 7 right from the start. PHP 7 is way faster and I'm excited to start using some of the new features, but after I upgraded from Ubuntu 14.04 LTS to Ubuntu 16.04 LTS, I noticed that it broke just about everything on my webserver! After the upgrade, Apache would simply display the php scripts when accessed through a browser (a huge security risk in and of itself, by the way). So here's a quick guide on everything you need to get Laravel 5 (which is my favorite PHP...

Continue reading this post