线上不行,数据库都连不上。本地可以!为什么呢??
注册报错
Whoops, looks like something went wrong
vagrant@homestead:~/code/Laravel$ heroku pg:reset DATABASE --confirm samoyedsun
Resetting postgresql-animated-81117... done
vagrant@homestead:~/code/Laravel$ heroku run php artisan migrate
Running php artisan migrate on ⬢ samoyedsun... up, run.4979 (Free)
**************************************
* Application In Production! *
**************************************
Do you really wish to run this command? (yes/no) [no]:
> yes
In Connection.php line 664:
SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = forge and tabl
e_name = migrations)
In Connector.php line 67:
SQLSTATE[HY000] [2002] Connection refused
推荐文章: