If using an mysql server on a different port like 3307 instead of 3306, or running multiple mysql serveres on one machine. Be advised that using localhost as host in mysql_connect for instance localhost:3307 will override the port and use the default port 3306. Use the computer host name or domain instead. Even IP is better than localhost. But remember to add the user with the correct host in your mysql database. It's not a bug in the mysql module, but a bug in the mysql client. Mysql unix client have the same flaw.
最近评论
2 天 3 小时
2 天 16 小时
4 天 18 小时
4 天 20 小时
一周 2 天
一周 2 天
一周 3 天
3 周 2 天