Debian9 完全卸载MariaDB


Uninstall mariadb-server

To remove just mariadb-server package itself from Debian 9 (Stretch) execute on terminal:

sudo apt-get remove mariadb-server

Uninstall mariadb-server and it's dependent packages
To remove the mariadb-server package and any other dependant package which are no longer needed from Debian Stretch.

sudo apt-get remove --auto-remove mariadb-server

Purging mariadb-server
If you also want to delete configuration and/or data files of mariadb-server from Debian Stretch then this will work:

sudo apt-get purge mariadb-server

To delete configuration and/or data files of mariadb-server and it's dependencies from Debian Stretch then execute:

sudo apt-get purge --auto-remove mariadb-server
apt-get remove mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server-10.1 mariadb-server-core-10.1


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM