Linux server, error after installing pdo_mysql extension

after I install the pdo_mysql extension, I link with tp and report an error from time to time

: (
Undefined class constant "MYSQL_ATTR_INIT_COMMAND"
wrong location

but after a while it returned to normal, and after a while it was out of touch, and it was very unstable. The solution

my php version is 7.0

Jan.26,2022

The problem with

is very simple. In the php configuration file (in the general package version of php.ini, in the php file, php defaults to php.ini-production, renaming this file to ok), I only opened

.

extension=php_mysql.dll
extension=php_mysqli.dll is also missing, extension=php_pdo_mysql.dll,

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