Question:
I installed the official version of PHPCMS V9 today. After installing it into the database configuration, it always fails. The error code is:
MySQL Query :<br>MySQL Error :<br>MySQL Errno : 0<br>Message : Can not connect to MySQL server
Solution :
When installing PHPCMS V9, it is required to set the cache directory permissions to 777.
First you need to use FTP to select the caches directory, then right-click Properties, check: Apply to all subfolders and subfiles, and the permissions are 777.
After the settings are completed, install again and you will be able to pass.
Recommended tutorial: phpcms tutorial
The above is the detailed content of phpcms v9 installation failed. For more information, please follow other related articles on the PHP Chinese website!