ThinkPHP cannot actively link to the database command line connection

clipboard.png

after restarting mysql in window server2012, the password account host is all right. You cannot connect to the database through thinkPHP, but you can connect to the database with command line first and then refresh it.

Php
Mar.30,2021

if you change it to localhost, you will solve the problem

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