日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > 数据库 >内容正文

数据库

laradoc mysql acccess_安装之后,启动mysql容器失败

發布時間:2023/12/15 数据库 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 laradoc mysql acccess_安装之后,启动mysql容器失败 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

今天早上下了最新的docker,

按照安裝說明構建容器之后,

$ sudo docker-compose build

..

$ sudo docker-compose up

..

mysql_1 | mysqld(_start+0x2a)[0x5576d70b380a]

mysql_1 | The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains

mysql_1 | information that should help you find out what is causing the crash.

yii2fecshopdocker_mysql_1 exited with code 2

mysql_1 | 2018-04-27T10:45:14.932609Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).

mysql_1 | 2018-04-27T10:45:14.978054Z 0 [Note] mysqld (mysqld 5.7.22) starting as process 1 ...

mysql_1 | 2018-04-27T10:45:14.981536Z 0 [Note] InnoDB: PUNCH HOLE support available

mysql_1 | 2018-04-27T10:45:14.981555Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins

mysql_1 | 2018-04-27T10:45:14.981560Z 0 [Note] InnoDB: Uses event mutexes

mysql_1 | 2018-04-27T10:45:14.981565Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier

mysql_1 | 2018-04-27T10:45:14.981571Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3

mysql_1 | 2018-04-27T10:45:14.981575Z 0 [Note] InnoDB: Using Linux native AIO

mysql_1 | 2018-04-27T10:45:14.981862Z 0 [Note] InnoDB: Number of pools: 1

mysql_1 | 2018-04-27T10:45:14.981985Z 0 [Note] InnoDB: Using CPU crc32 instructions

mysql_1 | 2018-04-27T10:45:14.983991Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M

mysql_1 | 2018-04-27T10:45:14.993880Z 0 [Note] InnoDB: Completed initialization of buffer pool

mysql_1 | 2018-04-27T10:45:14.996690Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().

mysql_1 | 2018-04-27T10:45:15.108240Z 0 [ERROR] [FATAL] InnoDB: Table flags are 0 in the data dictionary but the flags in file ./ibdata1 are 0x4800!

mysql_1 | 2018-04-27 10:45:15 0x7f6a46cd2740 InnoDB: Assertion failure in thread 140094431110976 in file ut0ut.cc line 942

...

(注意到啟動mysql容器時發出了一個錯誤日志)

而在之后啟動PHP容器時爆出錯誤

$ sudo docker-compose exec mysql bash

ERROR: Container 37b60f56a60538181902cef72daee860d9e32a358e583c7f740a39a6dc472874 is restarting, wait until the container is running

看看容器狀態

$ sudo docker ps -a

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

053fa3f8c9f9 nginx:latest "nginx -g 'daemon ..." 18 hours ago Up About an hour 0.0.0.0:80->80/tcp yii2fecshopdocker_web_1

0dd280bd5317 yii2fecshopdocker_php "docker-php-entryp..." 18 hours ago Up About an hour 9000/tcp yii2fecshopdocker_php_137b60f56a605 mysql:5.7 "docker-entrypoint..." 18 hours ago Restarting (2) 42 minutes ago yii2fecshopdocker_mysql_13731c78bf86c hightman/xunsearch:latest "sh bin/xs-docker.sh" 18 hours ago Up About an hour 8383-8384/tcp yii2fecshopdocker_xunsearch_1

5b0fcc6f9a69 mongo:3.7 "docker-entrypoint..." 18 hours ago Up About an hour 0.0.0.0:27017->27017/tcp yii2fecshopdocker_mongodb_1

94b21bb4a642 redis:4.0 "docker-entrypoint..." 18 hours ago Up About an hour 0.0.0.0:6379->6379/tcp yii2fecshopdocker_redis_1

總結

以上是生活随笔為你收集整理的laradoc mysql acccess_安装之后,启动mysql容器失败的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。