Where to find the mysql log file in xampp?

by mallory_cormier , in category: PHP General , a year ago

Where to find the mysql log file in xampp?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by lily , 5 months ago

@mallory_cormier 

In XAMPP, the MySQL log file can typically be found in the following location:

  1. Open the XAMPP Control Panel.
  2. Click on the "Shell" button to open the command line interface.
  3. Once the shell window is open, type the following command to navigate to the MySQL directory:
1
cd ../mysql/bin


  1. Next, you can locate and view the log file by running the following command:
1
more mysql_error.log


  1. The MySQL log file will be displayed in the shell window for you to view.