Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Page 1 of 3 123 LastLast
Results 1 to 15 of 35

This is a discussion on mySQL And mySQLdump Path in the VPS & Dedicated forum
I am running WordPress and I want to use a plugin that backups the database automatically. The only problem is that I don't know what ...

  1. #1
    JPC Member
    Join Date
    Jun 2006
    Posts
    36

    mySQL And mySQLdump Path

    I am running WordPress and I want to use a plugin that backups the database automatically. The only problem is that I don't know what the mysql and mysqldump path is. Every path I have tried can't be found by the plugin. Any one with any insight would be helpful.

  2. #2

  3. #3
    JPC Support Smithjp's Avatar
    Join Date
    Jun 2006
    Location
    Planet Earth
    Posts
    166
    mysql and mysqldump binary should be in /usr/bin but it may be at different path on your VPS. You can check the path as:

    whereis mysql

    whereis mysqldump

  4. #4
    JPC Member
    Join Date
    Jun 2006
    Posts
    36
    Tried that, none of the options it gave me worked. Could it be a permissions issue?

  5. #5
    Old Hillbilly Connie's Avatar
    Join Date
    Sep 2001
    Location
    Hills of Missouri
    Posts
    2,648
    What back up plug in are you using? I have a backup plug in on both my blogs, and I don't recall ever having to provide a path other than the default path in the set up.

    Forum Moderators - Jag Staff

    Spam Whackers Blog - Dedicated to fighting Spam and providing General SEO Tips
    Organize your Kitchen or purchase Kitchen Accessories at Condells
    Ihelpyou Forum - Dedicated to "Best Practices" SEO

  6. #6
    JPC Member
    Join Date
    Jun 2006
    Posts
    36
    WP-DBMANAGER by Lester Chan
    http://lesterchan.net/wordpress/

  7. #7
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Interesting...

    I went to install that plug-in and, 'Bad Behavior' blocked me from my own web site!

    http://www.bad-behavior.ioerror.us/2...behavior-2011/

    Luckily, upgrading 'Bad Behavior' to the latest version did the trick...

    On with the show!
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  8. #8
    JPC Member
    Join Date
    Jun 2006
    Posts
    36
    Yeah, let me know how DBManager goes for you.

  9. #9
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Okay, I dropped in the WP-DBMANAGER plugin, activated it, and BOOM!

    Didn't have to config jack!

    WP-DBMANAGER is showing these paths in the DB Options tab (SDX):

    Code:
    Path To mysqldump:  /usr/bin/mysqldump
    
    Path To mysql:  /usr/bin/mysql
    
    Path To Backup:  /home/example/public_html/example/wp-content/backup-db
    Looks like a V nice plug-in!

    Thanks!!!
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  10. #10
    JPC Member
    Join Date
    Jun 2006
    Posts
    36
    Yeah, I tried those paths for mysqldump and mysql and I get an error under the BackupDB tab :

    MYSQL dump path does NOT exist. Please check your mysqldump path under DB Options. If uncertain, contact your server administrator.

    MYSQL path does NOT exist. Please check your mysql path under DB Options. If uncertain, contact your server administrator.

    I wonder if its a permissions thing or something with SSH because I think it uses that to access the mysql and mysqldump.

  11. #11
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Here's what I'm seeing...

    Checking Backup Status

    Checking Backup Folder (/home/example/public_html/example/wp-content/backup-db) ...
    Backup folder exists
    Backup folder is writable


    Checking MYSQL Dump Path (/usr/bin/mysqldump) ...
    MYSQL dump path exists.

    Checking MYSQL Path (/usr/bin/mysql) ...
    MYSQL path exists.

    Checking PHP Functions (passthru(), system() and exec()) ...
    passthru() enabled.
    system() enabled.
    exec() enabled.


    Excellent. You Are Good To Go.

    Note: The checking of backup status is still undergoing testing, it may not be accurate.
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  12. #12
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Performed a backup. Here's the header response...

    Database Backed Up Successfully On 'December 12, 2007 @ 11:38 am'.
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  13. #13
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Quote Originally Posted by MyNet-Tony View Post
    I wonder if its a permissions thing or something with SSH because I think it uses that to access the mysql and mysqldump.
    I just checked...

    Everything was created and backed-up just fine!

    The permissions on the folders are octal 0755... 0644 on the dump file.

    Gotta run! BBL!
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  14. #14
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    Tony,

    What kind of server are you on (shared, vps, etc.). If you're on dedicated or VPS, what kind of control panel (if any) are you using? That might help decipher these issues.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  15. #15
    JPC Member
    Join Date
    Jun 2006
    Posts
    36
    I am running a VPS with CentOS, Apache and Plesk CP

Page 1 of 3 123 LastLast

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
  •