mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1:3306' (111)
Symfony\Component\Process\Exception\ProcessFailedException
The command "'mysql' '--host=127.0.0.1' '--port=3306' '--user=root' '--password=12345' '--default-character-set=utf8mb4' 'shop'" failed.
SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select * from information_schema.tables where table_schema = shop and table_name = migrations and table_type = 'BASE TABLE')
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=shop
DB_USERNAME=root
DB_PASSWORD=12345
'mysql' => [
'driver' => 'mysql',
'url' => env('DATABASE_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'shop'),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', '12345'),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
'options' => extension_loaded('pdo_mysql') ? array_filter([
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
]) : [],
],
[Entrypoint] MySQL Docker Image 8.0.32-1.2.11-server
[Entrypoint] Starting MySQL 8.0.32-1.2.11-server
2023-04-14T15:50:15.931191Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
2023-04-14T15:50:15.934837Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.32) starting as process 1
2023-04-14T15:50:15.968104Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2023-04-14T15:50:16.291194Z 1 [ERROR] [MY-012960] [InnoDB] Cannot create redo log files because data files are corrupt or the database was not shut down cleanly after creating the data files.
2023-04-14T15:50:16.725782Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2023-04-14T15:50:16.726182Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2023-04-14T15:50:16.726266Z 0 [ERROR] [MY-010119] [Server] Aborting
2023-04-14T15:50:16.727158Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.32) MySQL Community Server - GPL.
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=shop
DB_USERNAME=root
DB_PASSWORD=12345
'mysql' => [
'driver' => 'mysql',
'url' => env('DATABASE_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'shop'),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', '12345'),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
'options' => extension_loaded('pdo_mysql') ? array_filter([
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
]) : [],
],
816939ebd947 mysql/mysql-server:8.0 "/entrypoint.sh mysq…" About a minute ago Exited (1) About a minute ago shop-mysql-1
[Entrypoint] MySQL Docker Image 8.0.32-1.2.11-server
[Entrypoint] Starting MySQL 8.0.32-1.2.11-server
2023-04-15T00:40:30.434979Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
2023-04-15T00:40:30.440568Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.32) starting as process 1
2023-04-15T00:40:30.628452Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2023-04-15T00:40:30.784405Z 1 [ERROR] [MY-012960] [InnoDB] Cannot create redo log files because data files are corrupt or the database was not shut down cleanly after creating the data files.
2023-04-15T00:40:31.243677Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2023-04-15T00:40:31.244179Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2023-04-15T00:40:31.244236Z 0 [ERROR] [MY-010119] [Server] Aborting
2023-04-15T00:40:31.245932Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.32) MySQL Community Server - GPL.
DRIVER VOLUME NAME
local 0a550d4a547517df309d7250dc57a4785c8646028625f5a80dbe73f579ce3df3
local 0adb157ef5edfdf9a83daa6ac7751eba418fc43ca3d4abcd6defdf116c48ff9c
local 4b859b6ecdd0ab2e4b2fea790a68af771c52f2aa5074f48b9452295430b275df
local 4ed2b05ed87e7e0e4d3417cda79968201e4979aeedf4c2129ac22b3159d041ff
local 5bc4d88ea7cc22aca65c265b309afb5662d471293cb1c69234f45b5e1fc26267
local 7bc18d764a0aaa3a10d455c29c57080466db0295a03b410531157578ef83092e
local 9a0f6003e6e4b51c5be2cc79ac628b5063080460f2ea1126802b5a4b694c5281
local 9e46e0b4c089fccaf4e8e723198aad51807187f380a5fefd24350b730f747b4e
local 64aee16cbc348dbc24fef29e4474cea8637f82c7346cc8ed5515530e53b919ab
local 85e4f7b844c881aad4d45bbe123d159f12d1856393427ee8d741c4f0d7dbae16
local 98a2b40bf8bd20c5b7f50b166362600e3e0591b010a835425b708c3008b484d5
local 99b7ccce94820cdde41cd10b8c349d38c5c552c34769c346ea82815faa786679
local 449b271eae1d828f217b6e0f46fe7acdf82eb361961bea240f9d32ca1750895c
local 7320fed23d90775bfc5af2f0515c77d4c74d1f5f59f5418e43cf91a5f157506c
local 18679c444450694d6073af86ac0da10a87936a754a44c9510d403eca3a031278
local 44060d842c63d73eb1f26c596d7a1e9a3598a83623e4ec2611d147806fd8e9f4
local admin-panel_sail-meilisearch
local admin-panel_sail-mysql
local admin-panel_sail-redis
local b1ddc02b1f80bffbc3ef75e9311a92bc809f5f665bd85b6cff841b323d79deda
local b529cf315df575fe7e00f4f2847688fd568b94876758bcf515dab276f75ed599
local badac0986f5d704eb05e86296860f4dbc2f30d5293f4f36731ce91146f666296
local cb3afbc4438a6396cdaba5274a828941a2c8379ca081f412eb65f734e06589d1
local e54f14bb04f0559511114cbf5a6c6c4775a8282a71744c906903b6061f2b62f2
local e480b46a14845cd0808cd1f20f826b1f48fe2e3eb79d407f6d254bd2b338c316
local e896befe156e3590c9c7c178549b20bd401cf88288428e97dce698c0464efa63
local ecd992c74b95b59f0f06441ba606bff0d1d03f7485f445a59eaf218bd7316985
local f781e5f29f1bd00fc758d7d6e00e8d5fc6baec44f72e8ca907d3abc9d804170e
local fc93dfdcfc39326eecd13eedccc92fec4cf8fcabe4334b3a0e47f19d0a3a9b84
local fcc2cdb8ae4fb712f87c067359fdc0fa2eb9d497c6ee2dc3576873cc7c2b348b
local grutax_sail-meilisearch
local grutax_sail-mysql
local grutax_sail-redis
local laravel-app_sail-meilisearch
local laravel-app_sail-mysql
local laravel-app_sail-redis
local mysite_db-data
local mysite_dbmysql
local project_db-data
local shop_sail-meilisearch
local shop_sail-mysql
local shop_sail-redis
[
{
"CreatedAt": "2023-04-04T20:34:22+07:00",
"Driver": "local",
"Labels": {
"com.docker.compose.project": "shop",
"com.docker.compose.version": "2.11.2",
"com.docker.compose.volume": "sail-mysql"
},
"Mountpoint": "/var/lib/docker/volumes/shop_sail-mysql/_data",
"Name": "shop_sail-mysql",
"Options": null,
"Scope": "local"
}
]
итого 81344
drwxrwx--- 6 27 sudo 4096 апр 15 16:22 .
drwx-----x 3 root root 4096 апр 4 20:34 ..
-rw-r----- 1 27 sudo 56 апр 4 20:34 auto.cnf
-rw-r----- 1 27 sudo 0 апр 4 20:43 binlog.index
-rw------- 1 27 sudo 1680 апр 4 20:36 ca-key.pem
-rw-r--r-- 1 27 sudo 1112 апр 4 20:36 ca.pem
-rw-r--r-- 1 27 sudo 1112 апр 4 20:36 client-cert.pem
-rw------- 1 27 sudo 1676 апр 4 20:36 client-key.pem
-rw-r----- 1 27 sudo 196608 апр 4 20:36 '#ib_16384_0.dblwr'
-rw-r----- 1 27 sudo 8585216 апр 4 20:34 '#ib_16384_1.dblwr'
-rw-r----- 1 27 sudo 12582912 апр 4 20:35 ibdata1
-rw-r----- 1 27 sudo 12582912 апр 4 20:35 ibtmp1
drwxr-x--- 2 27 sudo 4096 апр 4 20:35 '#innodb_redo'
drwxr-x--- 2 27 sudo 4096 апр 4 20:35 '#innodb_temp'
drwxr-x--- 2 27 sudo 4096 апр 4 20:35 mysql
-rw-r----- 1 27 sudo 15728640 апр 4 20:36 mysql.ibd
drwxr-x--- 2 27 sudo 4096 апр 4 20:36 performance_schema
-rw------- 1 27 sudo 1676 апр 4 20:36 private_key.pem
-rw-r--r-- 1 27 sudo 452 апр 4 20:36 public_key.pem
-rw-r--r-- 1 27 sudo 1112 апр 4 20:36 server-cert.pem
-rw------- 1 27 sudo 1680 апр 4 20:36 server-key.pem
-rw-r----- 1 27 sudo 16777216 апр 4 20:36 undo_001
-rw-r----- 1 27 sudo 16777216 апр 4 20:36 undo_002