1. Install mysql: udo apt-get install mysql-server udo apt-get install mysql-client udo apt-get install php5-mysql (used to connect php and mysql) Check if mysql is running aux | grep mysql Startup Command /etc/init.d/mysql start 2. Delete mysql Execute the following commands in order udo apt-get autoremove --purge mysql-server-5.0 udo apt-get remove mysql-server udo apt-get autoremove mysql-server udo apt-get remove mysql-common Clean up residual data dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P Summarize The above is the detailed introduction of how to install and completely uninstall MySQL using apt-get under Ubuntu. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Docker installs the official Redis image and enables password authentication
>>: How to use CocosCreator object pool
When it comes to understanding web design, many p...
Table of contents background 1. Document Descript...
1. Idea It only took 6 seconds to insert 1,000,00...
Linux remote deployment of MySQL database, for yo...
Table of contents Create a global shared content ...
DOCTYPE DECLARATION At the top of every page you w...
1. How to monitor MySQL deadlocks in production e...
mysql storage engine: The MySQL server adopts a m...
Recently, there is a need to automatically search...
I'm using a placeholder in a text input and i...
Aggregate functions Acts on a set of data and ret...
This article example shares the specific code for...
Preface Starting from MySQL 5.7.11, MySQL support...
MySQL startup error Before installing MySQL on Wi...
[LeetCode] 176. Second Highest Salary Write a SQL...