Trying to use Fishpig Module with Docker Magento #827
Unanswered
Jake21Digital
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I have added the wp tables in the same database as the magento2 tables, Magento site connects fine to the database but the wordpress site is refusing too. I keep getting this error on the /blog url SQLSTATE[HY000] [2002] No such file or directory
Here are my wordpress credentials inside 'wp-config.php'. Which are the same credentials in my env.php for Magento.
define('DB_NAME', 'magento');
define('DB_USER', 'magento');
define('DB_PASSWORD', 'magento');
define('DB_HOST', 'db');
Steps To Reproduce
Install Magento Site using this docker magento repo
Install the free https://fishpig.co.uk/magento/wordpress-integration/ module
Set your wordpress folder name in the admin
visit site at /blog
Expected Result
To view the wordpress blog at the expected url
Actual Result
Blog can't connect to the database with the following error SQLSTATE[HY000] [2002] No such file or directory
Beta Was this translation helpful? Give feedback.
All reactions