Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    1

    Default easiest way for customer to view DB

    I'm looking for the easiest way for a remote client to view a database

    I've set up a new MySQL user with limited privileges and ideally I'd like them to be able to log into the phpMyAdmin interface on the server, but it looks as though this isn't possible with anything except actual account logins.

    So it looks like my options are: give them the mySQL details and let them sort their own login, then when it fails take their hostname and add it to the list of allowed remote hosts and ask them to try again.

    or

    Create an entirely new phpMyAdmin on the site which goes straight to the database as the mySQL user I have created for them.

    Any quicker solutions?

  2. #2
    Integration Developer cPanelDavidN's Avatar
    Join Date
    Dec 2009
    Location
    Houston, TX
    Posts
    525

    Default Re: easiest way for customer to view DB

    Hi Joey,

    Your statements are complete correct:
    1) for remote login via `mysql` or other remote client, you'd need to add their IP as an access host
    2) cPanel's phpMyAdmin interface is only available to an authenticated cPanel account
    3) You could deploy your own phpMyAdmin and serve it from within your web space. -- My guess on this method is that it won't be as easy as unpacking the source. ie, you may need to play around with the config a bit. Additionally, if I decided to do this, I'd probably make it such that no one could access the application directly. That is, just like cPanel won't serve the docroot for phpMyAdmin unless your authenticated into cPanel, I'd enforce my own authentication before-hand...but that's just me. And like you mentioned, this is the long route.

    Best Regards,
    -DavidN
    David Neimeyer
    Integration Developer

    sdk.cpanel.net
    APIs: XML-API API1 & API2
    Check Out: Developer Downloads Integration Blog
    Need Support? Support Ticket Developer Forum Feature Request

Similar Threads & Tags
Similar threads

  1. Reseller can view customer db ?
    By webstyler in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-21-2009, 12:48 PM
  2. Easiest way to move accounts
    By jhyland87 in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 06-30-2009, 11:46 AM
  3. Anyone know the easiest way to remote control other pc?
    By goodgbb in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 04-27-2006, 06:19 PM
  4. customer can download raw access logs for a foreign domain(separate customer)
    By rapidfire911 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-29-2005, 01:28 PM
  5. View Mail stats ( View Relayers) oh boy!!
    By rpmws in forum cPanel and WHM Discussions
    Replies: 19
    Last Post: 09-17-2003, 04:52 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube