docker-compose第一次启动报错,不能使用mysql #1824
Replies: 3 comments
-
使用的包是: |
Beta Was this translation helpful? Give feedback.
-
`[root@localhost docker-compose]# docker-compose version Server: Docker Engine - Community |
Beta Was this translation helpful? Give feedback.
-
docker-compose第一次启动mysql报错,我遇到的是mysql的5.7的默认版本有问题,docker-compose中的配置文件的Mysql的docker版本加个mysql小版本号就可以了 |
Beta Was this translation helpful? Give feedback.
-
刚下载使用docker-compose启动组件,结果在mysql那一直报错,启动mysql后一直有问题:
mysql | chown: changing ownership of './sys/module/iTCO_vendor_support/sections/.text': Read-only file system mysql | chown: changing ownership of './sys/module/iTCO_vendor_support/sections/__param': Read-only file system mysql | chown: changing ownership of './sys/module/iTCO_vendor_support/sections/__mcount_loc': Read-only file system mysql | chown: changing ownership of './sys/module/iTCO_vendor_support/sections/.rodata': Read-only file system mysql | chown: changing ownership of './sys/module/iTCO_vendor_support/sections/.strtab': Read-only file system mysql | chown: changing ownership of './sys/module/iTCO_vendor_support/sections/.symtab': Read-only file system mysql | chown: changing ownership of './sys/module/iTCO_vendor_support/sections/.gnu.linkonce.this_module': Read-only file system mysql | chown: changing ownership of './sys/module/iTCO_vendor_support/sections/.rodata.str1.8': Read-only file system mysql | chown: changing ownership of './sys/module/iTCO_vendor_support/sections/.note.gnu.build-id': Read-only file system mysql | chown: changing ownership of './sys/module/iTCO_vendor_support/sections/__kcrctab': Read-only file system mysql | chown: changing ownership of './sys/module/iTCO_vendor_support/sections/.exit.text': Read-only file system mysql | chown: changing ownership of './sys/module/iTCO_vendor_support/sections/__ksymtab_strings': Read-only file system mysql | chown: changing ownership of './sys/module/iTCO_vendor_support/sections/__ksymtab': Read-only file system mysql | chown: changing ownership of './sys/module/iTCO_vendor_support/refcnt': Read-only file system mysql | chown: changing ownership of './sys/module/iTCO_vendor_support/version': Read-only file system mysql | chown: changing ownership of './sys/module/iTCO_vendor_support/uevent': Read-only file system mysql | chown: changing ownership of './sys/module/iTCO_vendor_support/holders': Read-only file system mysql | chown: changing ownership of './sys/module/iTCO_vendor_support/holders/iTCO_wdt': Read-only file system mysql | chown: changing ownership of './sys/module/iTCO_vendor_support/initsize': Read-only file system mysql | chown: changing ownership of './sys/hypervisor': Read-only file system archery | 2022/09/07 18:19:41 Problem with dial: dial tcp: lookup mysql on 127.0.0.11:53: no such host. Sleeping 1s archery | 2022/09/07 18:19:47 Problem with dial: dial tcp: lookup mysql on 127.0.0.11:53: no such host. Sleeping 1s archery | 2022/09/07 18:19:53 Problem with dial: dial tcp: lookup mysql on 127.0.0.11:53: no such host. Sleeping 1s
不知道是什么原因?大家有碰到吗?
Beta Was this translation helpful? Give feedback.
All reactions