Installing MySQL 8.0 on Debian 12
Install MySQL 8.0
# removing mariadb and any pre-installed mysql packages apt-get purge mysql\* libmysql\* apt-get purge mariadb\* # below 2 commands, only if required apt autoremove apt --fix-broken install cd /usr/src wget https://dev.mysql.com/get/mysql-apt-config_0.8.29-1_all.deb dpkg -i /usr/src/mysql-apt-config_0.8.29-1_all.deb # if need to reconfigure it dpkg-reconfigure mysql-apt-config
Setting the repo by editing nano /etc/apt/preferences.d/mysql
Package: mysql-* Pin: origin "repo.mysql.com" Pin-Priority: 900
Installing MySQL 8.0
apt update apt install mysql-server systemctl status mysql systemctl enable mysql systemctl start mysql systemctl status mysql
0
Howdy, Stranger!
Categories
- 94 All Categories
- 20 VoIP
- 7 SIP
- 16 asterisk
- 44 Programming
- 1 Nodejs
- 4 javascript
- 19 PHP
- 8 Codeigniter
- 14 database
- 1 UI/UX
- 2 Flutter
- 28 OS
- 26 Linux
- 1 Virtualization
- 1 Android
- 1 Windows
- 2 legal