Closed paulalex closed 4 years ago
Hi - might be worth trying the following commands:
php bin/magento setup:db-schema:upgrade
php bin/magento setup:db-data:upgrade
setup:db-schema:upgrade
Hi, I'm having this same problem. In which container to run these commands?
2 exception(s): Exception #0 (Zend_Db_Statement_Exception): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento2.store' doesn't exist, query was: SELECT
store.* FROM
storeWHERE (
store.
store_id='1') ORDER BY
sort_order` ASCException #1 (PDOException): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento2.store' doesn't exist
Exception #0 (Zend_Db_Statement_Exception): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento2.store' doesn't exist, query was: SELECT
store
.* FROMstore
WHERE (store
.store_id
='1') ORDER BYsort_order
ASC ` Has anyone come across this? I am not a php developer but just want to bring up magento to run on aws ec2. I have had issues using any of the available magento docker compose stacks.Is it possible to mount the mysql volumes to a user defined directory so I can map this to an EBS volume so the data will persist if the instance running the docker application dies and gets restarted?