• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

trouble installing phpmyadmin in subdomain

I

ilustrate

Guest
i made a subdomain forum.mysite.com and then dumped all the contents of phpbb directory within subdomains/forum/httpdocs i also proceeded to upload phpmyadmin within subdomains/forum/httpdocs and now when i typed http://forum.mysite.com/phpmyadmin/ i got an error phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.
Error

MySQL said: Documentation
#1045 - Access denied for user: 'root@localhost' (Using password: NO)

was i supposed to install phpmyadmin in my main httpdocs directory?
 
Normally you would install phpMyAdmin into it's own directory, separate from the forum.

Then before trying to run phpMyAdmin, you are supposed to edit the config.inc.php file to change the username to admin and the password to your Plesk admin password, and check/change the hostname.

I would not recommend putting phpMyAdmin into the same directory as any other software. I would also recommend you put it into an SSL folder, and password protect that folder as well.
 
how to create an ssl folder

how to i find or create an ssl folder so that i can get in the correct habit of using this more secure method.
 
Create the folder under the

/home/httpd/vhosts/domain.com/httpsdocs

directory
 
Back
Top