Hello -
I am trying to change the port that MYSQL uses because the server computer that I am trying to install XAMPP on, is already running MYSQL through port 3306. The service cannot be stopped as it is needed by our office. I have searched the internet for how to change it and followed all the directions. I went through all the files and wherever it mentioned port 3306, I changed it to 3307. Still no luck. MYSQL will not run in XAMPP. I get a port error message in XAMPP. Apache starts and runs fine.
Has anyone been successful at changing the port? If so, can you please provide some direction?
My System: Windows 7 Pro, 16GB RAM, Asus Z97WS Mother Board, Samsung 850EVO SSD
These are the basic directions that most forums recommend.
Edit the value to "port" in
xampp/mysql/bin/my.ini
Code:
# Password = your_password
port = 3306 ---> 3307
socket = "/ xampp / mysql / mysql.sock"
and here also
Code:
# The MySQL server [ mysqld ]
port = 3306 ---> 3307
socket = "/ xampp / mysql / mysql.sock"
2. Start mysql service