You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
然后每次都是报这个错误
In Connection.php line 664:
SQLSTATE[HY000] [2002] Connection refused (SQL: create table migrations (id int unsigned not null auto_incremen
t primary key, migration varchar(191) not null, batch int not null) default character set utf8 collate 'utf8_un
icode_ci')
In Exception.php line 18:
SQLSTATE[HY000] [2002] Connection refused
In PDOConnection.php line 40:
SQLSTATE[HY000] [2002] Connection refused
用的是windoes的docker
可以帮忙解答一下这个是哪里有错吗?
感觉太难了。。。
The text was updated successfully, but these errors were encountered:
配置看到是这样的:
docker exec wizard env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=bd738f049594
DB_PASSWORD=wizard
DB_DATABASE=wizard
APP_DEBUG=true
DB_HOST=host.docker.internal
DB_PORT=3306
DB_CHARSET=utf8
DB_COLLATION=utf8_unicode_ci
DB_USERNAME=wizard
PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
PHP_INI_DIR=/usr/local/etc/php
APACHE_CONFDIR=/etc/apache2
APACHE_ENVVARS=/etc/apache2/envvars
PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_LDFLAGS=-Wl,-O1 -pie
GPG_KEYS=CBAF69F173A0FEA4B537F470D66C9593118BCCB6 F38252826ACD957EF380D39F2F7956BC5DA04B5D
PHP_VERSION=7.3.33
PHP_URL=https://www.php.net/distributions/php-7.3.33.tar.xz
PHP_ASC_URL=https://www.php.net/distributions/php-7.3.33.tar.xz.asc
PHP_SHA256=166eaccde933381da9516a2b70ad0f447d7cec4b603d07b9a916032b215b90cc
APACHE_DOCUMENT_ROOT=/webroot/public
HOME=/root
然后每次都是报这个错误
In Connection.php line 664:
SQLSTATE[HY000] [2002] Connection refused (SQL: create table
migrations
(id
int unsigned not null auto_increment primary key,
migration
varchar(191) not null,batch
int not null) default character set utf8 collate 'utf8_unicode_ci')
In Exception.php line 18:
SQLSTATE[HY000] [2002] Connection refused
In PDOConnection.php line 40:
SQLSTATE[HY000] [2002] Connection refused
用的是windoes的docker
可以帮忙解答一下这个是哪里有错吗?
感觉太难了。。。
The text was updated successfully, but these errors were encountered: