Anonymous
TRIAL
a year ago
Good morning, I am trying to deploy a Laravel application but I get this error, I am also bringing the database from railway, the repository is private, thank you very much in advance
15 6.576 SQLSTATE[HY000] [2002] phpnetworkgetaddresses: getaddrinfo for mysql.railway.internal failed: Name or service not known (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)
15 6.576
15 6.576 at vendor/laravel/framework/src/Illuminate/Database/Connection.php:813
15 6.580 809▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
15 6.580 810▕ );
15 6.580 811▕ }
15 6.580 812▕
15 6.580 ➜ 813▕ throw new QueryException(
15 6.580 814▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
15 6.580 815▕ );
15 6.580 816▕ }
15 6.580 817▕ }
15 6.582
15 6.582 +40 vendor frames
15 6.582
15 6.582 41 artisan:35
15 6.582 Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
15 6.582
2 Replies
a year ago
Please try enabling the new builder in your service settings
cal80
HOBBY
7 months ago
How do I enable new builder?
There's no option for that in Settings->Build