鼠标左键点击,之后点击第一个 localhost(有一个小房子)
添加虚拟地址
具体添加
完成界面
注意:这个时候一定需要重启一个Wampserver64
如果没有重启直接进入4这个步骤,会发现进入的网页还是localhost的页面(之前遇到的坑)
再进入localhost
重启之后为了确保网址和端口正确,再次进入
这种操作就不会出现端口错误的问题,如果你的端口是3306,那么就可以在写网址的时候需要省略。但是,mysql的默认端口是3306.如果你电脑启动了mysql服务,那你把端口改成8080,避免冲突。(之前遇到的坑)