Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

老电视盒子armv7l架构没有docker版本的mysql的解决方案 #70

Open
Andrew8102 opened this issue Dec 4, 2024 · 3 comments
Open

Comments

@Andrew8102
Copy link

Andrew8102 commented Dec 4, 2024

可以使用One more Docker MySQL project for ARM devices项目,只需要在docker-compose.yml文件的mysql部分中修改为biarms/mysql的包就可以安装,我这边安装5.7版本的,可以参考https://github.com/biarms/mysql 项目自行选择构建好的armv7版本

mysql:
    container_name: film_mysql
    image: biarms/mysql:5.7
    privileged: true 
    ports:
    - 3610:3306
    environment:
      MYSQL_ROOT_PASSWORD: root
      MYSQL_DATABASE: FilmSite
    networks:
      - film-network
    command: [
          'mysqld',
          '--default-authentication-plugin=mysql_native_password',
          '--innodb-buffer-pool-size=80M',
          '--character-set-server=utf8mb4',
          '--collation-server=utf8mb4_unicode_ci',
          '--default-time-zone=+8:00',
          '--lower-case-table-names=1'
        ]
@ProudMuBai
Copy link
Owner

如果需要把服务拆分开来部署的话可以tg上联系我,可以把api地址做修改然后重新构建一下就好了,额,用docker本身也只是为了方便部署,不是什么硬性需求

@Andrew8102
Copy link
Author

感谢!理论上不应该提个issue,但是怕后来者有类似问题就提了,这个issue可以关闭了,谢谢作者!

@Andrew8102
Copy link
Author

为了便于后人查询,还是reopen吧,希望不要介意哈

@Andrew8102 Andrew8102 reopened this Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants