MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

How to fix MySQL Shutdown Unexpectedly Error

Errors : mysql_error.log

2020-10-22 12:48:24 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-10-22 12:48:24 0 [Note] InnoDB: Uses event mutexes
2020-10-22 12:48:24 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-10-22 12:48:24 0 [Note] InnoDB: Number of pools: 1
2020-10-22 12:48:24 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-10-22 12:48:24 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-10-22 12:48:24 0 [Note] InnoDB: Completed initialization of buffer pool
2020-10-22 12:48:24 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=249429322
2020-10-22 12:48:26 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-10-22 12:48:26 0 [Note] InnoDB: Removed temporary tablespace data file: “ibtmp1”
2020-10-22 12:48:26 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-10-22 12:48:26 0 [Note] InnoDB: Setting file ‘C:\xampp\mysql\data\ibtmp1’ size to 12 MB. Physically writing the file full; Please wait …
2020-10-22 12:48:26 0 [Note] InnoDB: File ‘C:\xampp\mysql\data\ibtmp1’ size is now 12 MB.
2020-10-22 12:48:26 0 [Note] InnoDB: 10.3.16 started; log sequence number 249429331; transaction id 170022
2020-10-22 12:48:26 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-10-22 12:48:26 0 [Note] Plugin ‘FEEDBACK’ is disabled.
2020-10-22 12:48:26 0 [Note] Server socket created on IP: ‘::’.

Solution

Step 1: Open Xampp Control Panel
Step 2: Click on Config -> Click on Service and Port Settings
Step 3: Click on MySQL Tab and change port to 3307 (Note: any other port which is free in your system)
Step 4: Click on Save -> Save.
Step 5: Restart your Xampp Control Panel

XAMPP Control Panel v3.2.4 with Apache running and MySQL stopped
XAMPP Configuration of Control Panel dialog with the Service and Port Settings button
XAMPP Service Settings MySQL tab with the main port changed to 3307

Note : you have to change port number in my.ini files also.

My.ini file with port set to 3307 under the client and mysqld sections

References :

References :
Click Here

Solution 2


if you find error like below image attached then forward video upto 8:00 duration.

PhpMyAdmin error page: mysqli_real_connect cannot connect, target machine actively refused it

you have to locate below file and change localhost ipv4 address. whenever you change mysql port then you should change below file also to work smoothly.

/xampp/phpmyadmin/config.inc.php (file)

old setting

/* Bind to the localhost ipv4 address and tcp */
$cfg[‘Servers’][$i][‘host’] = ‘127.0.0.1:3307‘;
$cfg[‘Servers’][$i][‘connect_type’] = ‘tcp’;

New Settings

/* Bind to the localhost ipv4 address and tcp */
$cfg[‘Servers’][$i][‘host’] = ‘127.0.0.1;
$cfg[‘Servers’][$i][‘connect_type’] = ‘tcp’;

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
MotoShare.in provides the perfect two-wheeler for every occasion—daily commuting, weekend escapes, tourist exploration, or test-riding your dream bike. Simplify your mobility with us!

Related Posts

How to Reset or Recover Forgotten mySql root Password

To reset a forgotten MySQL or MariaDB root password, stop the server, restart it with grant checks turned off (skip-grant-tables), set a new password with ALTER USER,…

Read More

Complete Guide for Socket based vs TCP Based Application Connection

Here’s a clear, end-to-end tutorial you can keep handy. It explains what “socket-based” vs “TCP-based” really means, how to tell which one you’re using, and how to…

Read More

keycloak: Installing keycloak with mysql (socket + TCP enabled)

To run Keycloak 17+ (Quarkus) with MySQL on the same server (XAMPP/LAMPP). It covers two supported setups. Pick A (TCP) for a production-style config, or B (UNIX…

Read More

XAMPP – LAMPP Tutorials: List of Production Files to Cleanup Guide

Here’s a comprehensive and updated tutorial on which files should be cleaned up regularly in a production environment running XAMPP (under /opt/lampp), what each file/folder is, and…

Read More

Managing MariaDB Root Password and Connection Behavior in XAMPP (Ubuntu)

☁️ Introduction When working with MariaDB/MySQL inside XAMPP on Ubuntu, many developers face confusing issues related to root password behavior, localhost vs 127.0.0.1 access, and authentication plugins.This…

Read More

Step-by-Step Tutorial: Dynamic Container URL Routing using Apache (XAMPP) for Multi-User Laravel App

This tutorial guides you through setting up a multi-user container-based architecture using: We’ll configure Apache to dynamically proxy subdomains like user123.wizbrand.com to each user’s container (e.g., port…

Read More