I am connecting to my mysql server at 192.168.1.7. I get this error though in my program: "Caused by: java.net.ConnectException: Connection refused".
It is running:
Code:
pi@raspberrypi /etc/mysql $ sudo mysqladmin -u java -p status
Enter password:
Uptime: 3280 Threads: 1 Questions: 488 Slow queries: 0 Opens: 53 Flush tables: 1 Open tables: 46 Queries per second avg: 0.148
I don't have iptables or ufw running. I can ping the server ok. netstat -a does not show 3306. the mysql config file is set to listen on 3306.