a year ago
PS C:\xampp\htdocs\bazarTec> php artisan migrate:fresh
Illuminate\Database\QueryException
SQLSTATE[HY000] [2002] phpnetworkgetaddresses: getaddrinfo for mysql.railway.internal failed: Este host no conhecido. (Connection: mysql, SQL: select tablename as name
, (datalength + indexlength) as size
, tablecomment as comment
, engine as engine
, tablecollation as collation
from informationschema.tables where tableschema = 'railway' and tabletype in ('BASE TABLE', 'SYSTEM VERSIONED') order by table_name)
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
a year ago
You're running this from your lcoal machine from what I can tell (based on C:\xampphtdocs\bazarTec>)
and the "mysql.railway.internal" url is used for the private network in Railway meaning you won't be able to connect to the datbase via that host from your local computer
You'd need to use the public url if you're looking to connect to the database from your local computer