XAMPP MySQL port 3306 not changing

淺唱寂寞╮ 提交于 2020-03-04 10:52:26

问题


I have seen all the posts and did all the changes, but when I run XAMPP MySQL, it opens 3306 and closes, it is not going to 3307 port.

I have changed xampp\mysql\bin\my.ini all port number 3306 to 3307 and even xampp\php\php.ini changed 3306 to 3307, even all the .ini files in MySQL that had 3306 changed to 3307. Went to processes and services removed XAMPP as well.

Restarted my PC as well.

Anyone has any idea where to make changes that XAMPP will look at 3307 port for MySQL?


回答1:


You have to set it in the settings of xamp also. Open the control center and go to Config (right side, first option). There you find something like "Services and ports". Here you can change the ports data for all apps in xamp.



来源:https://stackoverflow.com/questions/28962824/xampp-mysql-port-3306-not-changing

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!