Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 14 of 14

This is a discussion on No mysql root password for my VPS ? in the VPS & Dedicated forum
I need mysql root password for a backup script but this is what support told me: the 'root' access for root user of MySQL in ...

  1. #1
    JPC Member lamnk's Avatar
    Join Date
    Jul 2007
    Posts
    39

    No mysql root password for my VPS ?

    I need mysql root password for a backup script but this is what support told me:
    the 'root' access for root user of MySQL in Plesk control panels are disabled
    Instead of using admin password of MySQL server in the script please use the Database User's login and password who has prvillages to access the database.
    I don't understand much what they mean here. Why couldn't i have the root access for mysql server ? Is that plesk's restriction ?

    Let say i have 10+ databases then i must insert 10 users/passwords in my backup script to dump the databases ?

  2. #2
    Loyal Client thisisit3's Avatar
    Join Date
    Mar 2007
    Posts
    642
    I'm using cPanel, so i'm not the best person to answer your question.

    Based on the error message, i'd say that Plesk has restricted access for root (many people do that, since its not very frequent that "root" is required for MySQL).

    If you want to access many different databases at once, then root access is what you need. Why don't you look at Plesk's configuration and see if you can enable root access to MySQL? Just make sure you set a proper password.

  3. #3
    Loyal Client the_ancient's Avatar
    Join Date
    Feb 2004
    Posts
    3,386
    -------------------------
    the_ancient
    MP Technology Group

  4. #4
    JPC Member PsyCHZZZ's Avatar
    Join Date
    Jul 2007
    Location
    Tokyo, Japan
    Posts
    9
    the_ancient is right... Plesk disables the "root" account on default. So, just login via cli to your MySQL using the "admin" account and then if you want... you can add your own "root" account.

    Code:
    mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost'
        -> IDENTIFIED BY 'root_password' WITH GRANT OPTION;

  5. #5
    JPC Member lamnk's Avatar
    Join Date
    Jul 2007
    Posts
    39
    Heck ... it's so simple

    Thank you folks.

  6. #6
    Loyal Client thisisit3's Avatar
    Join Date
    Mar 2007
    Posts
    642
    This is why people don't like Plesk, it messes with the commonly known "defaults" and other Linux standards (like paths/locations of files/etc).

  7. #7
    JPC Support Smithjp's Avatar
    Join Date
    Jun 2006
    Location
    Planet Earth
    Posts
    166
    You can also login to MySQL prompt via admin user directly as:

    mysql -uadmin -p`cat /etc/psa/.psa.shadow`

  8. #8
    Loyal Client the_ancient's Avatar
    Join Date
    Feb 2004
    Posts
    3,386
    Quote Originally Posted by PsyCHZZZ View Post
    the_ancient is right..
    Ofcourse I am, the_ancient is never wrong
    -------------------------
    the_ancient
    MP Technology Group

  9. #9
    JPC Member PsyCHZZZ's Avatar
    Join Date
    Jul 2007
    Location
    Tokyo, Japan
    Posts
    9
    Quote Originally Posted by the_ancient View Post
    Ofcourse I am, the_ancient is never wrong

    Woah... the ego.... hahaha...

  10. #10
    JPC Member PsyCHZZZ's Avatar
    Join Date
    Jul 2007
    Location
    Tokyo, Japan
    Posts
    9
    Quote Originally Posted by thisisit3 View Post
    This is why people don't like Plesk, it messes with the commonly known "defaults" and other Linux standards (like paths/locations of files/etc).
    You got a point... I'm getting a bit annoyed at how Plesk places all the www root folders and naming them differently from what I was so used to when I'm on Cpanel and just plain *nix boxes.

    But i just gotta live with it for now... heck, it's free so beggars can't be chooser! hahaha...
    (I meant to refer to myself of course... not to others).

  11. #11
    JPC Member lamnk's Avatar
    Join Date
    Jul 2007
    Posts
    39
    Uhm ... but there are quite many people who love plesk, no ? What are the advantages of plesk over cpanel then ?

  12. #12
    the Windlord Gwaihir's Avatar
    Join Date
    Jun 2002
    Posts
    2,562
    Quote Originally Posted by lamnk View Post
    Uhm ... but there are quite many people who love plesk, no ?
    By open choice or necessity? My impression is that people pick Plesk because:
    - cPanel doesn't run on Windows and they have Windows VPS / dedicated
    - they previously used a host that offered only Plesk and are comfortable with it
    Regards,

    Wim Heemskerk
    ---
    Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
    And Gwaihir.net - The Middle-earth CCG store

  13. #13
    JPC Member lamnk's Avatar
    Join Date
    Jul 2007
    Posts
    39
    I do mean by open choice.

    There are tons of complaints about cpanel being unstable on WHT. I don't see Plesk has that many complaints.

  14. #14
    CTO JPC-Masood's Avatar
    Join Date
    Aug 2002
    Location
    Jaguar Servers
    Posts
    2,070
    Quote Originally Posted by lamnk View Post
    I do mean by open choice.

    There are tons of complaints about cpanel being unstable on WHT. I don't see Plesk has that many complaints.
    May be because plesk does not have that many users. All control panel have problems. There is no perfect system out there.

    Masood N. | Chief Technical Officer
    JaguarPC.com


    Helpful Links
    Knowledge Base | Network Status

Bookmarks

Posting Permissions

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