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

throws a promt. How to by pass or disable? #3

Open
parmonov98 opened this issue Mar 20, 2021 · 1 comment
Open

throws a promt. How to by pass or disable? #3

parmonov98 opened this issue Mar 20, 2021 · 1 comment

Comments

@parmonov98
Copy link

image

@MagePsycho
Copy link
Owner

MagePsycho commented Mar 23, 2021

@parmonov98 Note that the password that you pass in the parameter is the password for the new user.

And MySQL credentials for new DB/user creation will be taken from the MySQL config file ~/.my.cnf.
If you don't have one, you can simply create a .my.cnf file in the home directory, with

[client]
host=localhost
user=[your-db-user]
password=[your-db-pass]

If ~/.my.cnf doesn't exist, you will be prompted for the root password. For an automated environment, it's recommended to make use of the MySQL config file.

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