How do I use MySQL through XAMPP?

前端 未结 4 964
北海茫月
北海茫月 2020-12-07 22:34

I installed XAMPP v3.2.1 because I wanted to learn how to create database in MySQL and learn more about TOMCAT. However, I am a little confused about what to do now. I have

4条回答
  •  攒了一身酷
    2020-12-07 23:19

    Changing XAMPP Default Port: If you want to get XAMPP up and running, you should consider changing the port from the default 80 to say 7777.

    • In the XAMPP Control Panel, click on the Apache – Config button which is located next to the ‘Logs’ button.

    • Select ‘Apache (httpd.conf)’ from the drop down. (Notepad should open)

    • Do Ctrl+F to find ’80’ and change line Listen 80 to Listen 7777

    • Find again and change line ServerName localhost:80 to ServerName localhost:7777

    • Save and re-start Apache. It should be running by now.

    The only demerit to this technique is, you have to explicitly include the port number in the localhost url. Rather than http://localhost it becomes http://localhost:7777.

提交回复
热议问题