Laravel: Too few arguments to function Illuminate\Support\Manager::createDriver()

I try to test emails with mailtrap and Laravel 5.4. I get this error: Type error: Too few arguments to function Illuminate\Support\Manager::createDriver(), 0 passed in C:\Users***\Documents\www\***\backend\vendor\laravel\framework\src\Illuminate\Support\Manager.php on line 88 and exactly 1 expected I already tried to config:cache, config:clearetc. Here is what php artisan tinkerreturns when I echo env(‘MAIL_DRIVER’) smtp Here is my .env file MAIL_DRIVER=smtp MAIL_HOST=mailtrap.io MAIL_PORT=2525 MAIL_USERNAME=********* […]

Read More

Ubuntu get the Default username and password

After Installing Mysql on ubuntu, sometime its very difficult to get the default username and password. here is the technique to get the password Here’s what worked for me, on Ubuntu 18.04, from the top $ sudo apt install mysql-server $ sudo cat /etc/mysql/debian.cnf Note the lines which read: user = debian-sys-maint password = blahblahblah […]

Read More