+ Reply to Thread
Results 1 to 2 of 2

Thread: Accessing Phpmyadmin

  1. #1
    marco is offline New Bee
    Join Date
    Mar 2008
    Posts
    8
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Accessing Phpmyadmin

    Hi there,

    I did a search in the forums but found nothing, so here's my question:

    is there a way to let a user access phpmyadmin without entering cpanel?

    I need to let a colleague see and work on a certain db, but prefer not to give out the username and password for my cpanel account. Moreover, this way he'd get to see all of the other db's, while I just want to let him handle one.

    Thanks!
    Marco

  2. #2
    xaurav's Avatar
    xaurav is offline Almighty
    Join Date
    Mar 2008
    Posts
    105
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It can be done.
    with command line arguments.
    built an application in vb,
    providing shell(""); function
    use mysql on local computer there you get access to remote server database.

    then in vb u can predefine the code
    example shell("mysql -u root -pYourApache2TriadRootPassword newDbName < db.dmp" ,0);
    i am not sure about this 0(zero), its to hide what input is given . then you would be connected to your mysql server.

    my idea runs around creating an exe application and deploying on any computer running mysql .

    This exe suppose called xaurav.exe will have inbuilt commands. which i wrote above or similar(depends upon what you want).

    So this way your friend cant watch the username password and can work over the specific database.

    Note:This is very complex kind of applications, any bug may give him access to other databases.
    Last edited by xaurav; 08-02-2008 at 11:42 AM.

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts