Share this post:
Responses (27)
-
Accepted Answer
well Ive been having this issue in Beta 6.6.0 (beta 2)
I have looked around for a solution to the same problem.
what i have noticed is the following:
reported no updatesyum clean all && yum upgrade
reported already installedyum install phpmyadmin
after setting up an alias in the httpd.conf file as sugested i natuarly restarted the HTTPD service
[root@demo conf.d]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Sun Jan 11 16:31:45 2015] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 1009 will probably never match because it overlaps an earlier Alias.
[ OK ]
now this looked pretty odd since i just added an alias whent to my browser and tried to access the webpage and sure enough
Forbidden
You don't have permission to access /phpmyadmin on this server.
now that to me sounds like a permission problem and as the Alias was ALREADY in place (at the time of install im guessing)
i figured id look around and found a few interesting things in side of this file
/etc/httpd/conf.d/phpMyadmin.conf
seems like by defualt it ONLY allows localhost as stated in the comments section at the top of the file (i'll attach it here if any one would like to see the file)
now i havent yet adjusted any settings yet but when i do and get some results i'll post back and provide the changes
EDIT: forgot the attached file
# phpMyAdmin - Web based MySQL browser written in php
#
# Allows only localhost by default
#
# But allowing phpMyAdmin to anyone other than localhost should be considered
# dangerous unless properly secured by SSL
Alias /phpMyAdmin /usr/share/phpMyAdmin
Alias /phpmyadmin /usr/share/phpMyAdmin
<Directory /usr/share/phpMyAdmin/>
AddDefaultCharset UTF-8
<IfModule mod_authz_core.c>
# Apache 2.4
Require local
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from 127.0.0.1
Allow from ::1
</IfModule>
</Directory>
<Directory /usr/share/phpMyAdmin/setup/>
<IfModule mod_authz_core.c>
# Apache 2.4
Require local
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from 127.0.0.1
Allow from ::1
</IfModule>
</Directory>
# These directories do not require access over HTTP - taken from the original
# phpMyAdmin upstream tarball
#
<Directory /usr/share/phpMyAdmin/libraries/>
Order Deny,Allow
Deny from All
Allow from None
</Directory>
<Directory /usr/share/phpMyAdmin/setup/lib/>
Order Deny,Allow
Deny from All
Allow from None
</Directory>
<Directory /usr/share/phpMyAdmin/setup/frames/>
Order Deny,Allow
Deny from All
Allow from None
</Directory>
# This configuration prevents mod_security at phpMyAdmin directories from
# filtering SQL etc. This may break your mod_security implementation.
#
#<IfModule mod_security.c>
# <Directory /usr/share/phpMyAdmin/>
# SecRuleInheritance Off
# </Directory>
#</IfModule>
-
Accepted Answer
I had the problem aswell. The code in the picture ALex gave fixed my problem.
I did not have the config in the folder and when i created it and typed the code displayed on the image it suddenly worked.
But now it says that the login is incorrect, altho the login via putty works good....
Any ideas? -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Yum is telling phpMyAdmin 3.5.2.2-1.el6.noarch is already installed
I think you just solved the other mystery! That 3.5.2.2-1.el6 version is an EPEL build of phpMyAdmin - it doesn't have the little hooks to make it ClearOS-friendly. If you run an upgrade with the EPEL repository enabled, you may end up installing the EPEL version instead of the custom version intended for ClearOS. You can upgrade to the ClearOS version today by running:
# yum --enablerepo=clearos-updates-testing upgrade phpMyAdmin
I just added a tracker item to blacklist the phpMyAdmin package from EPEL. -
Accepted Answer
-
Accepted Answer
Hi,
I to am having this problem. I have tried restarting webconfig, tried restarting mysqld, did yum clean all && yum upgrade, tried yum install phpMyAdmin, nothing seemed to make a difference. Yum is telling phpMyAdmin 3.5.2.2-1.el6.noarch is already installed. I tried reinstalling phpMyAdmin and then restarting webconfig but still no luck.
I tried Alexis C suggestion, however the phpMyAdmin.conf did not exist, so I created it with the contents from his attached picture. This gave me a certificate error, but when I attempted to continue I got the 404 error again.
Any further suggestions? -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Hmmm fresh install 6.3.0 beta...and I have this problem. I have two boxes, both would appear to be configured the same - but one presents this problem and the other doesn't! its late but there is the following log snippet...
/var/log/webconfig/error.log
[Tue Jul 31 23:46:02 2012] [error] [client 192.168.1.5] File does not exist: /usr/clearos/framework/htdocs/mysql, referer: https://192.168.1.100:81/app/mysql
-
Accepted Answer
I had the same problem running COS Enterprise 6.2.0 (trial), unable to access phpMyAdmin.
Followed the post of Alexis C and edited phpMyAdmin adding the indicated lines and was able to access phpMyAdmin, after a reboot, and create the database I required for Concrete5 instalation successfully. -
Accepted Answer
Hello, I think i might help you on this problem.
I had the same issue (404 error when browsing to server/mysql) and after a while I resolved it by doing this :
vim /usr/clearos/sandbox/etc/httpd/conf.d/phpMyAdmin.conf
After, you have to add the line "Allow from localhost" on both directories :
http://img837.imageshack.us/img837/8620/mysqlfix.png
After a restart of httpd service (edit : or a reboot) it should work (at least it worked for me). -
Accepted Answer
Same problem here, clean install from "clearos-professional-6.2-x86_64.iso" and "Go To MySQL Management Tool" link gives 404 error. (mysql, web apps installed)
Tried all the suggestions mentioned in this thread, but they did not work.
What did work was this: http://www.linuxquestions.org/questions/linux-software-2/how-to-fix-the-requested-url-phpmyadmin-was-not-found-on-this-server-796610/#post4539480
phpmyadmin quick intstall quide -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Even wrote:
Hi
It is a fresh install, phpMyadmin was not installed, i installed it and added the database, so now its "working" but database management /mysql link does not work. I have not tested yum clean all && yum upgrade, i installed 6.2 final .iso
Same problem here! phpMyadmin link does not appear to work on the MySQL Database management tab. When I press the link button "Go To MySQL managemnt Tool" it says:
The requested URL /mysql was not found on this server.
Does something else need to be installed? -
Accepted Answer
-
Accepted Answer

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »