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

fix #2076 #2085

Merged
merged 10 commits into from Apr 5, 2020
Merged

fix #2076 #2085

merged 10 commits into from Apr 5, 2020

Conversation

Mte90
Copy link
Member

@Mte90 Mte90 commented Mar 15, 2020

Try to fix #2076

@Mte90 Mte90 requested review from tomjn and Mar 15, 2020
@update-docs
Copy link

update-docs bot commented Mar 15, 2020

Thanks for opening this pull request! Make sure CHANGELOG.md gets updated with this change, additionaly any docs that need updated can be found at https://github.com/Varying-Vagrant-Vagrants/varyingvagrantvagrants.org

GitHub
The VVV docs and website. Contribute to Varying-Vagrant-Vagrants/varyingvagrantvagrants.org development by creating an account on GitHub.

provision/provision.sh Outdated Show resolved Hide resolved
provision/provision.sh Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
Mte90 and others added 4 commits Mar 25, 2020
@Mte90
Copy link
Member Author

Mte90 commented Mar 25, 2020

it is not yet ready and need testing

@Mte90
Copy link
Member Author

Mte90 commented Mar 25, 2020

With the last code I am getting:

default: ERROR
    default:  2002 (HY000)
    default: : Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Any hints?

@tomjn
Copy link
Member

tomjn commented Apr 3, 2020

So this PR shuts down MariaDB then restarts it in safe mode, but never undos this after the password has been set :( As a result all the follow up provisioners fail with:

default: ERROR 1290 (HY000) at line 1: The MariaDB server is running with the --skip-grant-tables option so it cannot execute this statement

@Mte90
Copy link
Member Author

Mte90 commented Apr 3, 2020

In Italy we say "4 eyes are better then 2", dammit how much time lost for this stupid thing.

@tomjn
Copy link
Member

tomjn commented Apr 3, 2020

You need to start it again after you've stopped it!

@Mte90
Copy link
Member Author

Mte90 commented Apr 3, 2020

It does automatically in the lines after that, there is a check about the mysql status, if is not running automatically start again.

tomjn
tomjn approved these changes Apr 5, 2020
@tomjn tomjn merged commit 53aa138 into develop Apr 5, 2020
1 check passed
@Mte90 Mte90 deleted the mte90/2076 branch Apr 8, 2020
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

Successfully merging this pull request may close these issues.

2 participants