The simpliest way that works everytime on my side:
1.Go to task manager 2.Search for "mysqld" 3.End task then restart Xampp That's it!