MySQL

From Da Nerd Mage Wiki
Revision as of 15:45, 3 January 2022 by Bart (talk | contribs) (Created page with "= MySQL on Debian = Debian does not have MySQL in its repositories... :( We can solve this! Check the [https://dev.mysql.com/downloads/repo/apt/ MySQL download page] for current version... If you're happy with '''8.0.27''', go ahead, download & install. * <code>wget <nowiki>https://dev.mysql.com/get/mysql-apt-config_0.8.20-1_all.deb</nowiki></code> * <code>sudo apt install ./mysql-apt-config_0.8.20-1_all.deb</code> It may ask about distro version. On LMDE 4 or Sparky...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

MySQL on Debian

Debian does not have MySQL in its repositories... :(

We can solve this!

Check the MySQL download page for current version...

If you're happy with 8.0.27, go ahead, download & install.

  • wget https://dev.mysql.com/get/mysql-apt-config_0.8.20-1_all.deb
  • sudo apt install ./mysql-apt-config_0.8.20-1_all.deb

It may ask about distro version. On LMDE 4 or SparkyLinux 5, Select "debian buster" (It won't ask on Debian...)

Select "Ok"

Select "Ok"

Some versions will also ask about Configuring mysql-community-server

  • Pick a good root password...
  • I tend to select Use Legacy Authentication Method because Use Strong Password Encryption is annoying as hell. (Your choice here...)

Update & Upgrade everything now...

  • sudo apt update
  • sudo apt upgrade

Now you can go ahead & pretend they haven't dropped MySQL from the Debian repos...