ich habe auf einem BananaPi Armbian installiert und wollte gerne MySQL 5.x installieren und nicht MariaDB.
Folgende Schritte habe ich ausgeführt, wie sie auf der Seite beschrieben sind.
https://dbahire.com/how-to-install-mysq ... n-stretch/
MySQL-Server auf Debian 9 installieren
Code: Alles auswählen
echo -e "deb http://repo.mysql.com/apt/debian/ stretch mysql-5.7\ndeb-src http://repo.mysql.com/apt/debian/ stretch mysql-5.7" > /etc/apt/sources.list.d/mysql.list
wget -O /tmp/RPM-GPG-KEY-mysql https://repo.mysql.com/RPM-GPG-KEY-mysql
apt-key add /tmp/RPM-GPG-KEY-mysql
apt update
apt install mysql-server
MySQL Status aufrufen
systemctl status mysql
Code: Alles auswählen
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
default-mysql-server galera-3 gawk libaio1 libdbi-perl libjemalloc1 libreadline5 mariadb-client-10.1
mariadb-client-core-10.1 mariadb-common mariadb-server-10.1 mariadb-server-core-10.1 socat
Suggested packages:
gawk-doc libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl mailx mariadb-test tinyca
Recommended packages:
libdbd-mysql-perl libterm-readkey-perl libhtml-template-perl
The following NEW packages will be installed:
default-mysql-server galera-3 gawk libaio1 libdbi-perl libjemalloc1 libreadline5 mariadb-client-10.1
mariadb-client-core-10.1 mariadb-common mariadb-server-10.1 mariadb-server-core-10.1 mysql-server socat
0 upgraded, 14 newly installed, 0 to remove and 16 not upgraded.
Need to get 21.9 MB of archives.
After this operation, 152 MB of additional disk space will be used.
Weis vielleicht jemand, wie MySQL installiert bekomme?
Wäre super wenn mir das jemand helfen könnte.
Danke