Question

[ERROR] MySQL Query Error: Can not connect to DB, bridge2cart in woocommerce. Veeqo connection.

Posted June 7, 2019 422 views
WordPress Ansible Ubuntu 18.04 Databases

This is on a roots.io environment: trellis | bedrock | sage9

There are no errors on deployment. However my client requires the integration of Veeqo, stock management software, that has an integration plugin for wordpress.

In the instructions here, I’ve completed both steps 9a and 9b.

which state that I upload to the wordpress root, a folder, and set it permissions to 755 and 644 on the files it contains. But the above error is still present.

A test was done on a traditional server stack, which worked.

I’m guessing the error above is because bedrock’s file structure is different to a traditional wordpress architectur, and the bridge file is pointing to incorrect directory.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

Hello, @shaunmac

I hope this has already been sorted, but I wanted to check if you’re still experiencing the issue. The error itself says that the application can’t connect to your database - [ERROR] MySQL Query Error: Can not connect to DB

Could you please check the database configuration string and make sure that you can connect to your database manually using the details in the connection string?

Let me know how it goes.

Regards,
Alex

Submit an Answer