Score:0

MySQL installation woes

wf flag

Trying to install MySQL on 20.04.4. After running sudo apt-get install mysql-server it starts the server but there is a root password that is not known to me. I wanted to initialize it so I stopped the server and ran mysqld --initialize-insecure --datadir=/tmp/mysql - that generates no output at all, nothing written to the logs, and no files are created in /tmp/mysql. I stopped apparmor just to make sure that was not the culprit, but got the same results. But one have any thoughts on what is going on here?

guiverc avatar
cn flag
I would apply security fixes to your system asap; as your details (20.04.4) show you've not applied for *almost a year* if not longer; [this](https://fridge.ubuntu.com/2022/09/01/ubuntu-20-04-5-lts-released/) shows the ISO release date of 20.04.5 but installed systems upgraded to it before that date, and fully upgraded systems have reported themselves as 20.04.6 for some time now.
Larry Martell avatar
wf flag
I tried to install it on another system and it worked perfectly. Looking for differences I see that the other system is running 20.04.5 and MySQL is 'Ver 8.0.34 for Linux on x86_64 (MySQL Community Server - GPL)' whereas on the one it doesn't work on is running 20.04.4 and MySQL is 'Ver 8.0.33-0ubuntu0.20.04.2 for Linux on x86_64 ((Ubuntu))'. Wonder why the difference.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.