timmsy1998
HOBBY
4 months ago
Hey guys,
I wonder if you can help.
I'm attempting to deploy to railway, and I followed the guide on your website regarding monolithic setup.
My app server is refusing to connect to the mysql database, throwing the following error on build
FAIL
Illuminate\Database\QueryException
SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql.railway.internal failed: Name or service not known (Connection: mysql, SQL: delete from `cache`)
at vendor/laravel/framework/src/Illuminate/Database/Connection.php:822
818▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
819▕ );
820▕ }
821▕
➜ 822▕ throw new QueryException(
823▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
824▕ );
825▕ }
826▕ }
[2m+47 vendor frames [22m
48 artisan:16
Illuminate\Foundation\Application::handleCommand(Object(Symfony\Component\Console\Input\ArgvInput))
I wonder if you're able to help at all?
0 Replies
4 months ago
!s
Status changed to Solved uxuz • 5 months ago