Skip to content
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

Custom database name #39

Closed
webphpprojects opened this issue May 11, 2020 · 3 comments
Closed

Custom database name #39

webphpprojects opened this issue May 11, 2020 · 3 comments

Comments

@webphpprojects
Copy link

Hello,
I have a question related to database. Default m2c tool creates db with name magento. Is any way to change customize it and set other name of db? The problem is that I need to import dump of database which is quite big. It's hard to change the name of database in large file (of course it's hard but possible), however maybe there is any way to access custom database?

@shkoliar
Copy link
Member

shkoliar commented May 12, 2020

Hello, @webphpprojects!

If you have m2c project up and have imported database with custom name, you can switch it by editing .env file in the project root. Check the M2C_CFG_MYSQL_DATABASE env variable.

@shkoliar
Copy link
Member

The issue was closed accidentally. Anyway, we're checking on how to add a step for setting the database name during the import process.

@webphpprojects
Copy link
Author

Thank you for both.

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