Failed to enable unit: Refusing to operate on linked unit file mysqld.serviceの対処法
経緯
mariadbをインストール後、やっぱりmysqlをインストールしたいと思ってインストールした。
その後systemctl enable mysqld
を入力するもFailed to enable unit: Refusing to operate on linked unit file mysqld.service
のエラーが発生。
対処法
mysqlとmariadbどちらもインストールすると競合を起こす。mariadbを停止して無効化する。
systemctl stop mariadb
systemctl disable mariadb
そうしてsystemctl enable mysqld
をすると無事インストールできた。
Author And Source
この問題について(Failed to enable unit: Refusing to operate on linked unit file mysqld.serviceの対処法), 我々は、より多くの情報をここで見つけました https://qiita.com/blackpeach7/items/2e038efff45da1473415著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .