Skip to content

fix #2076#2085

Merged
tomjn merged 10 commits intodevelopfrom
mte90/2076
Apr 5, 2020
Merged

fix #2076#2085
tomjn merged 10 commits intodevelopfrom
mte90/2076

Conversation

@Mte90
Copy link
Copy Markdown
Member

@Mte90 Mte90 commented Mar 15, 2020

Try to fix #2076

@Mte90 Mte90 requested review from a team and tomjn March 15, 2020 20:40
@update-docs
Copy link
Copy Markdown

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.

Comment thread provision/provision.sh Outdated
Comment thread provision/provision.sh Outdated
Comment thread CHANGELOG.md Outdated
Mte90 and others added 4 commits March 25, 2020 15:39
@Mte90
Copy link
Copy Markdown
Member Author

Mte90 commented Mar 25, 2020

it is not yet ready and need testing

@Mte90
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

tomjn commented Apr 3, 2020

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

@Mte90
Copy link
Copy Markdown
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 merged commit 53aa138 into develop Apr 5, 2020
@Mte90 Mte90 deleted the mte90/2076 branch April 8, 2020 14:10
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.

Ensure root user has the default credentials in MariaDB

2 participants