|
首先,默认安装时,好像是有防火墙的。
我的问题,安装了mysql后发现,用jdbc访问mysql会有问题。
查到:
MySQL Connector/J can only communicate with MySQL using TCP/IP, as Java does not support Unix domain sockets. TCP/IP communication with MySQL might be affected if MySQL was started with the "--skip-networking" flag, or if it is firewalled.
所以,我想停掉可能存在的防火墙。
另一个问题,是在哪里设置mysql的启动参数?我查看了my.cnf文件,没看到有什么设置。 |
|