# Sage 10, ACF Blocks, Acorn, and Proxy MySQL to local?

**URL:** <https://community.kinsta.com/t/sage-10-acf-blocks-acorn-and-proxy-mysql-to-local/1046>\
**Category:** Application Support\
**Created:** [October 16, 2021, 5:26pm UTC](https://community.kinsta.com/t/sage-10-acf-blocks-acorn-and-proxy-mysql-to-local/1046 "2021-10-16T17:26:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SendItAgile](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/senditagile/32/644_2.png) [@SendItAgile](https://community.kinsta.com/u/SendItAgile)\
**Post date:** [October 16, 2021, 5:26pm UTC](https://community.kinsta.com/t/sage-10-acf-blocks-acorn-and-proxy-mysql-to-local/1046/1 "2021-10-16T17:26:04Z")

</div>

I’m working to be able to use ACF Blocks with sage 10 on devkinsta. Log1x/acf-composer seems to be the best solution, but when I try to run any acorn commands (ie $ wp acorn acf:field Example), I get

php\_network\_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known in /Users/jdub/DevKinsta/public/yodub/wp-includes/wp-db.php on line 1653

It seems like the issue is that acorn wants to connected to the mysql db to do it’s thing, so I’ve been trying to create a proxy tunnel to the devkinsta\_db mysql docker container by using bscheshir/mysql-proxy but I haven’t figured it out. I’ve been trying with this docker-compose. Any recommendations anyone can give me on sage 10 with ACF pro on devkinsta? Or with proxying the db from docker to local so acorn can do it’s magic?

version: ‘2’

services:  
db:  
image: bscheshir/mysql-proxy  
expose:  
- “3306” #for service php  
ports:  
- “3306:15200”  
restart: always  
volumes:  
- ./mysql-proxy-conf:/opt/mysql-proxy/conf  
environment:  
PROXY\_DB\_PORT: 3306  
REMOTE\_DB\_HOST: localhost  
REMOTE\_DB\_PORT: 15200  
LUA\_SCRIPT: “/opt/mysql-proxy/conf/main.lua”

---

<div class="post-metadata">

**Author:** ![nemanjac](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/nemanjac/32/400_2.png) [@nemanjac](https://community.kinsta.com/u/nemanjac)\
**Post date:** [October 18, 2021, 8:50am UTC](https://community.kinsta.com/t/sage-10-acf-blocks-acorn-and-proxy-mysql-to-local/1046/2 "2021-10-18T08:50:53Z")

</div>

@SendItAgile have you tried installing it on the devkinsta\_fpm container?  
Never used Log1x/acf-composer before, but it seems like you are trying to run it from local env, not docker.
