我必须通过在httpd.conf和httpd-vhosts中设置"Listens“将端口从80更改为8000。2013, "Lost connection to MySQL server at 'reading initial communication packet', system error: 0")编辑:当我将端口更改为3306并在my.ini中取消对行skip-grant-tables的注释时,它可以正常工作
准确地说,我需要将mysql/MariaDB10.xx默认端口更改为端口号15501。通过互联网,我发现它可以由包含一行port=3306的/etc/mysql/my.cnf更改,但在我的cnf文件中没有这样的行。etc/mysql/mariadb.conf.d/
不知道为什么,但如果我尝试使用mysql -uroot -p -P[ANY_PORT IS ACCEPTED example 1829],它可以使用任何端口号连接到10.1.23-MariaD