No doy en la tecla, probé varias indicaciones y el error persiste. No puedo hacer que se concrete la migración:
Illuminate\Database\QueryException : SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = lara6c and table_name = migrations and table_type = 'BASE TABLE')
at /Applications/MAMP/htdocs/Sites_Laravel/lara6/vendor/laravel/framework/src/Illuminate/Database/Connection.php:669
665| // If an exception occurs when attempting to run a query, we'll format the error
666| // message to include the bindings with SQL, which will make this exception a
667| // lot more helpful to the developer instead of just the database's errors.
668| catch (Exception $e) {
> 669| throw new QueryException(
670| $query, $this->prepareBindings($bindings), $e
671| );
672| }
673|
Exception trace:
1 PDOException::("SQLSTATE[HY000] [2002] Connection refused")
/Applications/MAMP/htdocs/Sites_Laravel/lara6/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70
2 PDO::__construct("mysql:host=127.0.0.1;port=3306;dbname=lara6c", "root", "", [])
/Applications/MAMP/htdocs/Sites_Laravel/lara6/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70
Please use the argument -v to see more details.