Shell: echo "deb bionic mysql-5.7" | sudo tee /etc/apt//mysql.listĬreates: "/etc/apt//mysql.list" ![]() Shell: "wget -no-check-certificate -qO - '' | gpg -dearmor -o /usr/share/keyrings/mysql-keyring.gpg" Shell: echo "deb stable main" | sudo tee /etc/apt//mysql-5.7.39.listĬreates: "/etc/apt//mysql-5.7.39.list"īut it's just my thoughts, probably there's better way, my only goal is mysql 5.7 on ubuntu 22.04 Shell: "wget -qO - | gpg -dearmor -o /usr/share/keyrings/mysql-keyring.gpg"Ĭreates: "/usr/share/keyrings/mysql-keyring.gpg" How I should install it, code below will not work because it's not deb package, it needs to be extracted and installed manually from tar.gz, and I don't know how, I keep getting html instead of tar.gz downloaded? - name: Install Mysql GPG key So I guess I need some not ubuntu specific source: Linux - Generic (glibc 2.12) (x86, 32-bit), TAR maybe? ![]() However I don't see ubuntu 22.04 mysql 5,7 source here I have upgraded server from centos to ubuntu 22.04, but I want to keep mysql 5.7.īy default ubuntu 22.04 apt gives mysql 8, so I think I need to add repo, gpg keyring manually and only then install.
0 Comments
Leave a Reply. |