Problems with mac XAMPP mysql, xamppmysql
After installing XAMPP on Mac, I encountered a series of problems. I sorted out the issues and updated them later.
1. MySQl cannot be started using the client. No reason is found yet.
Solution: import the correct MySQL service first,
- Sudo rm/Applications/XAMPP/xamppfiles/bin/mysql. server
- Sudo ln-s/Applications/XAMPP/xamppfiles/share/mysql. server/Applications/XAMPP/xamppfiles/bin/mysql. server
Run the command line to start sudo/Applications/XAMPP/xamppfiles/bin/mysql. server start.
2. Invalid Command Line
Cause: when you enter the command time, the system will search for the command you entered in the/usr/bin location. If you did not introduce the command to this location, whether you call cd directly to the specific location of the tool, it is in vain.
Solution: sudo ln-s/applications/xampp/bin/mysql/usr/bin