0

When am trying to start Mysql, am getting the below error:

Error: MySQL shutdown unexpectedly. This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by another method. Press the Logs button to view error logs and check the Windows Event Viewer for more clues. If you need more help, copy and post this entire log window on the forums

Error log: https://docs.google.com/document/d/1YW0YqRSpc6s1NneRaoSq8CuWWKemJ9um_9xtM4Z6nTY/edit?usp=sharing

Shadow
  • 33,525
  • 10
  • 51
  • 64
Chiranth
  • 5
  • 1
  • 5
  • Does this answer your question? [XAMPP - MySQL shutdown unexpectedly](https://stackoverflow.com/questions/18022809/xampp-mysql-shutdown-unexpectedly) – mufazmi Dec 08 '19 at 08:07

1 Answers1

0

you must change mysql port please follow the path below

\xampp\mysql\bin

open my.ini by some editor and change port

for example :

port=3309
socket="C:/xampp/mysql/mysql.sock"

change it to

port=3306
socket="C:/xampp/mysql/mysql.sock"
hashem sheikhypour
  • 908
  • 12
  • 30