Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 24
  1. #1
    Member
    Join Date
    Nov 2007
    Posts
    865

    Arrow access phpmyadmin without cpanel login

    Hi there,

    I have got many emails regarding access of phpmyadmin without cpanel login.

    Here is the latest one

    Hi, i have a friend who need put some codes in my mysql database, i have created a db and username/password, but if i give to him the url /http://www.mydomainname.com:2082/3rdparty/phpMyAdmin/index.php the browser ask for CPANEL login and password, i just need the direct URL to phpmyadmin, so my friend can setup the db without the cpanel admin account.

    and usual i have replied to this client that use mysql query browser tool to connect mysql database.

    But many of our clients wants this feature enabled in cpanel so is there any chance for this feature ??

    is there any one who needs this ?? +1 to this...

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,891
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: access phpmyadmin without cpanel login

    Setting up an install of PHPMyAdmin (password protected of course) for this user to use temporarily is pretty easy to do.

    The friend in your post could also work on his own database and export those changes to an .sql file that your client could import on his own as well.

    Personally I do not agree that this would be a needed Feature. But thats just me.

  3. #3
    Member
    Join Date
    Apr 2011
    Location
    US
    Posts
    69
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: access phpmyadmin without cpanel login

    Quote Originally Posted by Infopro View Post
    Personally I do not agree that this would be a needed Feature. But thats just me.
    +1 - I think the same .

    Just extract the phpmyadmin files to a directory .. easy job. Or you can use a software like sqlyog.
    PlotHost.com - Cheap Hosting
    Professional Web Hosting Solutions

  4. #4
    Member
    Join Date
    Nov 2007
    Posts
    865

    Default Re: access phpmyadmin without cpanel login

    could you explain this "Just extract the phpmyadmin files to a directory"

  5. #5
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default Re: access phpmyadmin without cpanel login

    Quote Originally Posted by crazyaboutlinux View Post
    could you explain this "Just extract the phpmyadmin files to a directory"
    I am not sure what you do not understand. phpMyAdmin is a PHP application, just like a blog or forum or shopping cart. All you need to do to install your own phpMyAdmin for a site is to download the archive of the phpMyAdmin version you want, extract the archive to the site's public_html directory, and follow the rest of the install procedure in the phpMyAdmin documentation. By doing this, there is now a phpMyAdmin for that site only that can be accessed without logging into cPanel.

    phpMyAdmin is just site software. We happen to distribute it with cPanel, but there is nothing that prevents you from installing another copy of phpMyAdmin on your own cPanel account.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  6. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: access phpmyadmin without cpanel login

    Quote Originally Posted by crazyaboutlinux View Post
    could you explain this "Just extract the phpmyadmin files to a directory"
    Install phpMyAdmin like you would any PHP application (e.g. WordPress, if you were doing it from scratch).

  7. #7
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: access phpmyadmin without cpanel login

    For those that want to create an additional cPanel user that only has access to phpMyAdmin, here's the request you can voice your input on: http://forums.cpanel.net/f145/multip...3-a-77145.html

    This thread seems to just be about how to install phpMyAdmin outside cPanel so I'm going to move it accordingly.

  8. #8
    Member
    Join Date
    Apr 2011
    Location
    US
    Posts
    69
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: access phpmyadmin without cpanel login

    Quote Originally Posted by crazyaboutlinux View Post
    could you explain this "Just extract the phpmyadmin files to a directory"
    I wanted to say to install phpmyadmin...
    PlotHost.com - Cheap Hosting
    Professional Web Hosting Solutions

  9. #9
    Member
    Join Date
    Nov 2007
    Posts
    865

    Default Re: access phpmyadmin without cpanel login

    access phpmyadmin without cpanel login-phpmyadmin.png phpmyadmin is there in cpanel but it asks cpanel username & password

  10. #10
    Member
    Join Date
    Nov 2007
    Posts
    865

    Default Re: access phpmyadmin without cpanel login

    i have managed to setup phpmyadmin on my centos vps

    but when i visit http://myserverip/phpmyadmin or http://mydomain.com/phpmyadmin

    i got this message

    Not Found

    The requested URL /phpmyadmin was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at mydomain.com Port 80

    here how i setup phpmy admin
    Code:
        $ su -
        # cd /var/www/html
        # wget -c http://prdownloads.sourceforge.net/phpmyadmin/
        phpMyAdmin-2.11.3-english.tar.gz?download
        # tar xvfz phpMyAdmin-2.11.3-english.tar.gz
        # mv phpMyAdmin-2.11.3-english phpmyadmin
        # cd phpmyadmin
        # cp config.sample.inc.php config.inc.php
        # vi config.inc.php
        :
        $cfg['Servers'][$i]['auth_type'] = ‘http‘; # default is cookies
        :
        # service httpd restart

  11. #11
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,289
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: access phpmyadmin without cpanel login

    Is this a cPanel machine? If so, your main IP or hostname is likely being served from /usr/local/apache/htdocs folder instead.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  12. #12
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,891
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: access phpmyadmin without cpanel login

    Quote Originally Posted by crazyaboutlinux View Post
    i have managed to setup phpmyadmin on my centos vps

    ...
    I would never have suggested installing it like that.

    As a normal user, you can upload/install phpMyAdmin to a directory on the account, for that one user.

    EX: upload here: crazyaboutlinux/home/public_html/privatedirectory/

    Password protect that directory!

    Edit the config.inc.php to connect as that user, to the databases that user owns.

  13. #13
    Member
    Join Date
    Nov 2007
    Posts
    865

    Default Re: access phpmyadmin without cpanel login

    Quote Originally Posted by Infopro View Post
    I would never have suggested installing it like that.

    As a normal user, you can upload/install phpMyAdmin to a directory on the account, for that one user.

    EX: upload here: crazyaboutlinux/home/public_html/privatedirectory/

    Password protect that directory!

    Edit the config.inc.php to connect as that user, to the databases that user owns.
    Hi Infopro

    That's fine, this is for the particular cPanel user & it asks for cplogin details rather than asking dblogin details. And will i have to do the same process for all existing more than 400 cPusers ???

    I just want that every cPusers can access their database using their
    http://so.n.so.domain.name/phpMyAdmin
    DBUser : sonso
    DBpass : their databaes password (Here again not cp login details) That's it!

  14. #14
    Member
    Join Date
    Nov 2007
    Posts
    865

    Default Re: access phpmyadmin without cpanel login

    its too easy for cP devs and i don't think so that they can not do this job.

  15. #15
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,289
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: access phpmyadmin without cpanel login

    If this is a requirement for you, you might consider posting a feature request on the forum:

    Feature Requests for cPanel/WHM

    Otherwise, if you are unable to develop the component to function, you might hire someone to try to get that type of ability setup before any such feature is implemented:

    Dev & Sys Admin Services « Application Catalog

    A note for the feature request, I highly suggest being very specific that you require the following:

    I would like to request that cPanel database users are able to log in with the database username and password to PhpMyAdmin rather than restricting login to the main cPanel username and password for PhpMyAdmin. This will allow individual database users to manage their database independently, similar to allowing email users individual email account login for webmail. We already allow remote connections to individual MySQL databases to manage the database via the cPanel database username and password.

    If you phrase it like that, you might be able to propose a worthwhile reason for the feature to be considered.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. Give access to phpmyadmin but not to cPanel
    By Kent Brockman in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-07-2009, 04:40 PM
  2. Access to phpmyadmin without have cpanel access is possible?
    By orionboji in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-04-2008, 08:06 AM
  3. How to login to phpmyadmin bypassing Cpanel
    By Kent Brockman in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-08-2008, 04:31 PM
  4. login to phpMYAdmin without going to Cpanel
    By NineCooL in forum Database Discussions
    Replies: 4
    Last Post: 04-28-2006, 09:34 AM
  5. Making CPanel login separate from all-access ftp login?
    By whataguy in forum New User Questions
    Replies: 0
    Last Post: 04-14-2005, 10:36 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube