uasoft-indonesia/badaso

Doctrine\DBAL\Driver\PDO\Exception

perfectminor opened this issue · 1 comments

after performing the command :

curl -s "https://badaso-starter.uatech.co.id/your-project-name" | bash

or

composer create-project badaso/starter your_project_name

then enter the command

php artisan migrate

then it always fails and the error description appears

PS C:\xampp\htdocs\your_project_name> php artisan migrate

Doctrine\DBAL\Driver\PDO\Exception

SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: No such host is known.

at C:\xampp\htdocs\your_project_name\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDO\Exception.php:18
14▕ final class Exception extends PDOException
15▕ {
16▕ public static function new(\PDOException $exception): self
17▕ {
➜ 18▕ return new self($exception);
19▕ }
20▕ }
21▕
�� }
21▕

1 C:\xampp\htdocs\your_project_name\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:44
Doctrine\DBAL\Driver\PDO\Exception::new(Object(PDOException))

2 C:\xampp\htdocs\your_project_name\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:40
PDOException::("PDO::__construct(): php_network_getaddresses: getaddrinfo for mysql failed: No such host is known. ")

Please respon, thanks.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.