MySQL on Debian 10 Kategoria: Linux | Autor: Bartłomiej Gałęzia

1. Dodaj repo mysql do APT

aptitude update
aptitude install gnupg
wget https://dev.mysql.com/get/mysql-apt-config_0.8.16-1_all.deb
#wget https://dev.mysql.com/get/mysql-apt-config_0.8.13-1_all.deb
#dpkg -i mysql-apt-config_0.8.16-1_all.deb
dpkg -i mysql-apt-config*
aptitude update

2. Zainstaluj MySQL Server

#aptitude install mysql-community-server
aptitude install mysql-server

"Use Legacy Authentication Method"

3. Uruchom usługę

systemctl status mysql.service

4. Ustaw hasło roota do mysql

mysql_secure_installation

5. Sprawdzamy info o mysql-server

mysqladmin -u root -p version

https://www.digitalocean.com/community/tutorials/how-to-install-the-latest-mysql-on-debian-10

#https://serverspace.io/support/help/how-to-install-mysql-on-debian-10/

#https://dev.mysql.com/downloads/repo/apt/

Dodaj komentarz

Brak komentarzy, bądź pierwszy i dodaj swój komentarz