Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

Database issues #149

Closed
paulalex opened this issue Mar 4, 2019 · 2 comments
Closed

Database issues #149

paulalex opened this issue Mar 4, 2019 · 2 comments

Comments

@paulalex
Copy link

paulalex commented Mar 4, 2019

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 store WHERE (store.store_id='1') ORDER BY sort_order` ASC

Exception #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.* FROM store WHERE (store.store_id='1') ORDER BY sort_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?

  • I am just trying to run from the quickstart on mac mojave. Does this stack actually work out of the box?
@joesken
Copy link

joesken commented Mar 5, 2019

Hi - might be worth trying the following commands:

php bin/magento setup:db-schema:upgrade
php bin/magento setup:db-data:upgrade

@evandroabreu
Copy link

setup:db-schema:upgrade

Hi, I'm having this same problem. In which container to run these commands?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants