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

External network access and permission problems #805

Closed
yyggg opened this issue Jun 30, 2022 · 0 comments
Closed

External network access and permission problems #805

yyggg opened this issue Jun 30, 2022 · 0 comments

Comments

@yyggg
Copy link

yyggg commented Jun 30, 2022

System version: osx 12.2.1

My MySQL server is external

docker-sync.yml

version: "2"
options:
    verbose: true
syncs:
  mac-sync:
    src: "./mall2/"
    sync_excludes: ['.git','.idea']	

docker run -v mac-sync:/var/www/mall2 -p 80:80 -p 443:443 -p 21:21 -p 22:22 -itd contens

errors:

  • SQLSTATE[HY000] [2002] Connection refused ...
  • could not be opened in append mode: failed to open stream: Permission denied
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