Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Dec 2008
    Location
    USA, North East
    Posts
    188
    Plugin Contributions
    0

    Default [Warning] Using a password on the command line interface can be inse

    Hello, I upgraded to 1.57C and when i do a database back up using the tools--database backup in the admin area, i get the following warning on the very top of the screen:

    0 => mysqldump: [Warning] Using a password on the command line interface can be insecure.

    should i be concerned? How to fix?

    Thanks. Everything works fine only the ominous warning from the Zen Cart Team... is chilling!

  2. #2
    Join Date
    Jan 2019
    Location
    UK
    Posts
    52
    Plugin Contributions
    0

    Default Re: [Warning] Using a password on the command line interface can be inse

    If you have access to the cPanel account for your hosting there is a backup wizard in there too, you can take a full account backup or backup individual mySQL databases.

  3. #3
    Join Date
    Dec 2008
    Location
    USA, North East
    Posts
    188
    Plugin Contributions
    0

    Default Re: [Warning] Using a password on the command line interface can be inse

    Hi, yes...but way more convenient, in my case, to use the zen cart to do it. So the question remains, should i be concerned about this warning?

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    10,514
    Plugin Contributions
    78

    Default Re: [Warning] Using a password on the command line interface can be inse

    What version of the Backup MySQL (https://www.zen-cart.com/downloads.php?do=file&id=7) plugin is in use?

  5. #5
    Join Date
    Jan 2004
    Posts
    66,350
    Blog Entries
    7
    Plugin Contributions
    271

    Default Re: [Warning] Using a password on the command line interface can be inse

    1. The question by lat9 is relevant. Are you using the latest version of the plugin?
    2. The " [Warning] Using a password on the command line interface can be insecure." warning is only a warning. It should have done the backup anyway.
    (The plugin does indeed open a command-line and pass your database password to it in order to do the backup, so the warning is somewhat expected. The alternative is to make you type in your database password, which is not ideal in this case where you're wanting a 1-click-backup.)
    3. The cPanel note is valid: your hosting company's control panel typically offers you an option to make database backups there instead of within Zen Cart.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Dec 2008
    Location
    USA, North East
    Posts
    188
    Plugin Contributions
    0

    Default Re: [Warning] Using a password on the command line interface can be inse

    the one built into the latest version 1.5.7c.. going onto host to do it takes time and log in, etc... the built in zen is very convenient and a smart addition, only that blasted warning!

  7. #7
    Join Date
    Jan 2004
    Posts
    66,350
    Blog Entries
    7
    Plugin Contributions
    271

    Default Re: [Warning] Using a password on the command line interface can be inse

    Quote Originally Posted by muah View Post
    the one built into the latest version 1.5.7c
    Um, no, there's no built-in backup in v1.5.7c.
    It's probably there from the old version you upgraded from.
    Thus, best to check whether your plugin is up to date.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Dec 2008
    Location
    USA, North East
    Posts
    188
    Plugin Contributions
    0

    Default Re: [Warning] Using a password on the command line interface can be inse

    The warning is a sort of disclaimer then, as we live in a litigious world. Okay... thanks

  9. #9
    Join Date
    Dec 2008
    Location
    USA, North East
    Posts
    188
    Plugin Contributions
    0

    Default Re: [Warning] Using a password on the command line interface can be inse

    ummm is right. okay, i'm on it.

  10. #10
    Join Date
    Dec 2008
    Location
    USA, North East
    Posts
    188
    Plugin Contributions
    0

    Default Re: [Warning] Using a password on the command line interface can be inse

    I upgraded and now it doesn't work.
    Result code: 2
    0 => mysqldump: [Warning] Using a password on the command line interface can be insecure.
    1 => mysqldump: Got error: 1045: Access denied for user 'mydbusername'@'localhost' (using password: YES) when trying to connect
    Failure: The database has NOT been saved.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Command line parameters - how to?
    By kalastaja in forum General Questions
    Replies: 9
    Last Post: 23 Aug 2010, 06:15 PM
  2. CURL Command-line
    By webstar in forum Basic Configuration
    Replies: 2
    Last Post: 24 Nov 2009, 10:34 PM
  3. Command line run of update_product.php
    By liderbug in forum General Questions
    Replies: 0
    Last Post: 12 Jul 2009, 04:19 AM
  4. Easy Populate From Command Line
    By jmycr in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 24 Aug 2008, 03:25 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR