# Temporal connectivity with MySQL

**URL:** <https://community.temporal.io/t/temporal-connectivity-with-mysql/5391>\
**Category:** Community Support\
**Tags:** mysql\
**Created:** [July 20, 2022, 9:44am UTC](https://community.temporal.io/t/temporal-connectivity-with-mysql/5391 "2022-07-20T09:44:39Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [July 20, 2022, 9:40pm UTC](https://community.temporal.io/t/temporal-connectivity-with-mysql/5391/5 "2022-07-20T21:40:58Z")

</div>

Depending what you are running on you would need to enable host access. I tested with minikube and was able to use [`host.minikube.internal`](https://minikube.sigs.k8s.io/docs/handbook/host-access/) as the sql host:

```auto
helm install -f values/values.mysql.yaml temporaltest \
  --set elasticsearch.enabled=false \
  --set prometheus.enabled=false \
  --set grafana.enabled=false \
  --set server.config.persistence.default.sql.user=myuser \
  --set server.config.persistence.default.sql.password=mypassword \
  --set server.config.persistence.visibility.sql.user=myuser \
  --set server.config.persistence.visibility.sql.password=mypassword \
  --set server.config.persistence.default.sql.host=host.minikube.internal \
  --set server.config.persistence.visibility.sql.host=host.minikube.internal . --timeout 900s

```

Just make sure that locally your mysql user has a non-blank password (if you use root by default its blank so make sure you set it to something) cause there seems to be a small issue with having blank password for sql in helm charts atm, investigating.

---

_[View the full topic](https://community.temporal.io/t/temporal-connectivity-with-mysql/5391)._
