Also, the 3306 port is on the server, so this command looks for something using thatOn my test system, we seewhich is my python test program connected to a remote database on 192.168.1.53 port 3306
Of course it only shows that when the script is running and connected.
Next step might be to mount a (spare) card with the pi image written onto it on a linux (ubuntu) machine so we can look at the files on it
e.g. what is in rc.local , what is in pi home directory etc.
Code:
sudo netstat -ano -p tcp | grep 3306
Code:
tcp 0 0 192.168.1.5:34508 192.168.1.53:3306 ESTABLISHED 1120/python off (0.00/0/0)
Of course it only shows that when the script is running and connected.
Next step might be to mount a (spare) card with the pi image written onto it on a linux (ubuntu) machine so we can look at the files on it
e.g. what is in rc.local , what is in pi home directory etc.
Statistics: Posted by neilgl — Tue Aug 27, 2024 6:56 pm