Mysql error, Error: ECONNREFUSED 127.0.0.1:port

I am a new scholar of front-end development, but I have encountered the following problems. I have searched all the tutorials on the Internet, some of which I do not understand and some of which are useless. I hope the gods will instruct me to solve this problem. Thank you

.

this is my mysql connection pool:

figure 0

macOSMAMP Pro:



127.0.0.1:8888/phpmyadmin :


(Submit Query):
ECONNREFUSED (Error Connection Refused)127.0.0.1:3306


+ the above problems may be related to macOS, because my project is running normally on Windows 10, and there is no such error.
I have opened the server, phpmyadmin (as shown in figure 0) it can be accessed normally, and static pages can be accessed. I really hope the gods can help me solve this problem. I"ve been messing with this problem for 2 weeks.

Feb.17,2022

Connection Refused generally, the system refuses to connect. Check whether a port is open, and then check whether iptable is open


problem is still unsolved. I don't understand whether iptable is open. Where can I see if it is turned on?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3dd45-2c3d2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3dd45-2c3d2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?