# [ERROR] MySQL Query Error: Can not connect to DB, bridge2cart for Veeqo prodcut managment

**URL:** https://discourse.roots.io/t/error-mysql-query-error-can-not-connect-to-db-bridge2cart-for-veeqo-prodcut-managment/15781
**Category:** bedrock
**Tags:** woocommerce, sage9, trellis
**Created:** 2019-06-07T22:46:22Z
**Posts:** 20
**Showing post:** 12 of 20

## Post 12 by @shaunmac — 2019-06-17T07:48:25Z

I found this: [Enable remote access to DB to a specific IP using the ferm role](https://discourse.roots.io/t/enable-remote-access-to-db-to-a-specific-ip-using-the-ferm-role/8090)

Added Veeqo’s IP to /trellis/group\_vars/all/secruity.yml like so:

```
- type: dport_accept
    dport: [http, https]
    filename: nginx_accept
  - type: dport_accept
    dport: [ssh]
    saddr: "{{ ip_whitelist }}"
  - type: dport_limit
    dport: [ssh]
    seconds: 300
    hits: 20
  - type: dport_accept
    dport: [mysql]
    saddr: "1.0.0.0.0" //not actual ip
```

---

_[View the full topic](https://discourse.roots.io/t/error-mysql-query-error-can-not-connect-to-db-bridge2cart-for-veeqo-prodcut-managment/15781)._
