magento2-dockergento
magento2-dockergento copied to clipboard
Multiple database
trafficstars
Hello, how do I have more than one database in the same project? Thanks
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'@'%';