Error in php database query

I would like to ask whether there must be an error in querying a certain table in a database, and how to solve
I used the data inserted by wampserver, with navicat. Before I tried to query multiple tables, I failed, and then tried it with the simplest original query statement. Php is bound to make an error when querying a table, and the other two tables have no problem
encoding format all fields are UTF-8

Mar.12,2021

maybe one of the fields in that table conflicts with the reserved field of mysql (such as to). You need to escape this field and check

.
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-1e42641-449c4.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-1e42641-449c4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?