Debianにmysqlをインストールしたいのですが、エラーが発生します。
admin@localhost:~$ sudo apt-get install mysql-server
[sudo] password for admin:
admin is not in the sudoers file. This incident will be reported.
ベストアンサー1
言ったようにフィリップ・クーリン、あなたのadmin
ユーザーはrootにすることはできませんsudo
。別の方法でルートにする必要があります(例えば su
ルートパスワードを使用して)それを実行します。
apt install mariadb-server
現在、Debian バージョンでは使用できなくなり、次のパッケージmysql-server
に置き換えられました。mariadb-server
マリアデータベース、MySQLのフォーク)。