My computer has been installed with mysql before. Yesterday I deleted the original mysql to install mamp. According to the Internet, it may be that mysql was not deleted cleanly, causing mamp to be unable to start the mysql service. I would like to ask how to delete it cleanly. mysql? And I followed the command lines of many online tutorials to delete it, and the terminal showed that this file no longer exists.
The port number is occupied?
Check to see if the original mysql has not been stopped, if there is output above. Just kill the PID:
kill -9 PID