Skip to content

Multiple database #86

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
alexfaproenca opened this issue Mar 11, 2021 · 1 comment
Open

Multiple database #86

alexfaproenca opened this issue Mar 11, 2021 · 1 comment

Comments

@alexfaproenca
Copy link

Hello, how do I have more than one database in the same project? Thanks

@alainseys
Copy link

Hello, how do I have more than one database in the same project? Thanks

Depending on what you to get you can remove MYSQL_DATABASE from docker-compose.yml , then you need to login as with the root user and create the database manualy. And set the permissions for the magento user

You can do this by the following command or you do this in a gui like Sequal Pro where you can set a global permission.

Example: Database magento_dev
GRANT ALL PRIVILEGES ON magento_dev TO 'magento'@'%';

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

No branches or pull requests

2 participants