0

I mounted a manual LAMPP stack on my ubuntu 18.04 laptop, installing apache2, php8.0 & mysql 5.7, I tried to access it from another computer using Workbench, but it didn't work. I tried from monitor, and I've received this error:

ERROR 2002 (HY000): Can't connect to MySQL server on '192.168.0.108' (10061)

I tried from local, and it worked using mysql -u user -h 127.0.0.1 -p, but when I wrote mysql -u user -h 192.168.0.111 -p it also threw an error, this time a 2003 error. I tried to solve it by opening the 3306 port on the firewall as you can see:

3306/tcp            ALLOW       Anywhere
3306/tcp (v6)       ALLOW       Anywhere (v6)

But nothing. What more can I do?

0 Answers0