2 years ago
PS C:\xampp\htdocs\bazarTec> php artisan migrate:fresh
Illuminate\Database\QueryException
SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql.railway.internal failed: Este host no conhecido. (Connection: mysql, SQL: select table_name as name, (data_length + index_length) as size, table_comment as comment, engine as engine, table_collation as collation from information_schema.tables where table_schema = 'railway' and table_type in ('BASE TABLE', 'SYSTEM VERSIONED') order by table_name)
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
2 years 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
