Getting this error,
In Connection.php line 665:
SQLSTATE[HY000]  Connection refused (SQL: create table migrations (id int unsigned not null auto_increment primary key, migration varchar(255) not null, batch int not
null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')
In Connector.php line 70:
SQLSTATE[HY000]  Connection refused
Using Homestead development environment.
This error is due to PHP not being able to connect to MySQL
"Create a .env file, copy all contents in .env.example into the .env file and add your database configurations."
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.