What should I do if the phpcms administrator does not exist?
After normal installation of phpcmsV9, the background administrator does not exist? phpmyadmin cannot be opened?
Scenario Description:
The java running environment, including mysql, has been installed locally before, so after installing phpcms again, the following error will appear when connecting to the cms database:
Cause analysis and solutions:
Article 1:
Is there a MySQL database service installed, covering the phpmyadmin account?
Solution 1 (an alternative approach):
Although it is not possible to log in to the phpmyadmin database through subsequent clicks, you can log in to the interface through another method, which is the link below.
Link address: http://localhost/phpmyadmin/index.php
If there is no problem when registering and everything is normal, you can enter this interface smoothly.
Second item:
Or the installation was successful before, but another set of phpmyadmin was actually installed. When entering for the second time, the problem in item 1 was discovered.
Solution 2:
If this is the case, then directly open the previously installed phpmyadmin, create a new database name with the same name, and then import the database file with the same name you imported previously into the newly named database, and then modify the root account and password of the low-use database in the file of the cms framework project (path: www/caches/configs/database.php).
PHP Chinese website, a large number of free PHPCMS tutorials, welcome to learn online!
The above is the detailed content of What to do if the phpcms administrator does not exist. For more information, please follow other related articles on the PHP Chinese website!