- Editado
- S.O : Ubuntu 18
- PHP 7.2
- Apache2
- Mysql 5.7.22
Quando vou rodar a instalação no Docker da esse erro
$ sudo docker run --rm \
> -p 80:80 -p 2020:2020 \
> -e DATABASE_URL="pdo-mysql://novosga:0f0c48eb2b@localhost:3306/novosga" \
> novosga/novosga:latest
Starting pre-flight check...
Database url: Ok
// Clearing the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
In AbstractMySQLDriver.php line 113:
An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or dir
ectory
In PDOConnection.php line 50:
SQLSTATE[HY000] [2002] No such file or directory
In PDOConnection.php line 46:
SQLSTATE[HY000] [2002] No such file or directory
Waiting for database...
Waiting for database...
Waiting for database...
ai fica aparecendo essa informação de Waiting for database infinitamente