Parrot Linux에서 MySQL을 설치하는 중 오류가 발생했습니다.

Parrot Linux에서 MySQL을 설치하는 중 오류가 발생했습니다.

최근 VMWare에 Parrot KDE Security OS를 설치했습니다. MariaDB와 NodeJ를 연결하는 것이 MySQL과 NodeJ를 연결하는 것보다 더 피곤한 것처럼 MariaDB를 사용하는 데 문제가 있습니다. 그리고 MariaDB는 MySQL보다 리소스가 훨씬 적습니다.

그래서 Parrot에서 MariaDB를 완전히 제거했습니다.

그런데 이제 MySQL을 설치하려고 하면 문제가 너무 많습니다. 나는 스택, github을 태워서 마침내 여기에 물었습니다.

다음은 내가 여러 번 접하고 사용한 명령입니다.

sudo apt-get install mysql-server

하지만 다음과 같은 오류가 발생합니다.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package mysql-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'mysql-server' has no installation candidate

MySQL 설치에 대한 전체 지침을 알려주십시오.

나는 말 그대로 이 문제에 관한 모든 것을 검색했습니다. 저는 MySQL 웹사이트와 여기저기를 살펴보았습니다. 나도 경험해봤어여기. 귀하의 도움에 크게 감사하겠습니다. 매우 감사합니다.

답변1

이것은 작동합니다:

sudo apt install mariadb-server mariadb-client 

그 다음에...

systemctl start mysql  
systemctl status  mysql 

이제 가셔도 됩니다.

답변2

해결책.

  1. MariaDB를 쉽게 설치할 수 있습니다.

  2. mysql 서비스가 시작됩니다

문제 없다.

관련 정보