Page 23 of 27 FirstFirst ... 132122232425 ... LastLast
Results 221 to 230 of 265
  1. #221
    Join Date
    Aug 2005
    Location
    San Juan, Puerto Rico
    Posts
    1,525
    Plugin Contributions
    9

    Default Re: Backup MySQL Database

    Thank you very much. That solved it.
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!
    My contributions: SophyBlue / Sophy Blue-Grey / Mistik / The Bookshelf / Dynamic Sideboxes

  2. #222
    Join Date
    Aug 2005
    Location
    San Juan, Puerto Rico
    Posts
    1,525
    Plugin Contributions
    9

    Default Re: Backup MySQL Database

    Quote Originally Posted by ideasgirl View Post
    Hi,

    Lately I'm getting the following warning when doing backups:
    Code:
    Warning: Using a password on the command line interface can be insecure.
    Zen Cart v.1.5.4
    PHP Version: 5.6.30
    Database: MySQL 5.6.35

    Is there a way to solve this?
    Was this ever fixed? I still getting it.
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!
    My contributions: SophyBlue / Sophy Blue-Grey / Mistik / The Bookshelf / Dynamic Sideboxes

  3. #223
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Backup MySQL Database

    Quote Originally Posted by ideasgirl View Post
    Quote Originally Posted by ideasgirl View Post
    Hi,

    Lately I'm getting the following warning when doing backups:
    Code:
    Warning: Using a password on the command line interface can be insecure.
    Zen Cart v.1.5.4
    PHP Version: 5.6.30
    Database: MySQL 5.6.35

    Is there a way to solve this?
    Was this ever fixed? I still getting it.
    It's a legitimate warning.
    It's harmless.
    There are no plans to try to "hide" it, lest such plans mistakenly suppress other messages that could actually be important to see.
    .

    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.

  4. #224
    Join Date
    Oct 2009
    Posts
    298
    Plugin Contributions
    0

    Default Re: Backup MySQL Database

    Hi,

    I am in the process of upgrading my site to v1.5.7c and have installed it in my local computer to work on it before taking it live. I have installed the backup_mysql_plugin_v5g. I have backed up my database (quite large) from my current live site (running v 1.5.5e) I use the Restore function on my local copy, it seems to run (I get no errors) but here is what is in the logs

    [01-Apr-2021 22:14:25 UTC] PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in C:\wamp64\www\store\admin\backup_mysql.php on line 519
    [01-Apr-2021 22:14:25 UTC] PHP Stack trace:
    [01-Apr-2021 22:14:25 UTC] PHP 1. {main}() C:\wamp64\www\store\admin\index.php:0

    and no information is imported. I am doing something wrong?

    I have also tried to import the database through the MySql console in Wamp and it runs its sequence, gives no errors, and when it is completed, no information is updated.

    If someone could shed some light on this I would appreciate it!

    Thanks,

    Jeff

  5. #225
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,699
    Plugin Contributions
    123

    Default Re: Backup MySQL Database

    Check your database export and see if it specifies the live site name - perhaps the database was created but with that name instead of the local name you expected?
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #226
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,699
    Plugin Contributions
    123

    Default Re: Backup MySQL Database

    (You would see something like "USING live-site-database-name" at the top of the file if this is what is happening.)
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #227
    Join Date
    Oct 2009
    Posts
    298
    Plugin Contributions
    0

    Default Re: Backup MySQL Database

    Thanks for your reply SWGuy!

    I do not see this error anywhere, but will check the old database I am trying to import to see if I can see this suggestion.

  8. #228
    Join Date
    Oct 2009
    Posts
    298
    Plugin Contributions
    0

    Default Re: Backup MySQL Database

    I have checked the database and don't see this "USING live-site-database-name" as you had mentioned.

    I do see this:

    Host: localhost Database: "current database name"

    So that should rule out that potential problem. Anything else to check??? In looking at the database info, it is all there when I open the saved database that I have backed up from my current site......just to rule out any possibility that the info corrupted during downloading it to my local computer.

  9. #229
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,699
    Plugin Contributions
    123

    Default Re: Backup MySQL Database

    I have never done a restore through this tool - can you just do it on the command line? Sorry, I don't know how to do it in Windows; in Linux it would be

    mysql -uUSER -pPASS dbname < database_dump.sql
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #230
    Join Date
    Oct 2009
    Posts
    298
    Plugin Contributions
    0

    Default Re: Backup MySQL Database

    Thanks again for your reply SWGuy.....

    Yes, I did try to import using the command line through MySql console in Wamp. It gives me the command line....I change to the specific database I want to import into and then use the Source command and the path to the database file.

    When I have done this, it runs it sequence, no errors and when it is complete, none of the information has imported. Don't know why???

    Any thoughts on doing it this way.....again, have I missed something?

    Thanks again,

    Jeff

 

 
Page 23 of 27 FirstFirst ... 132122232425 ... LastLast

Similar Threads

  1. Backup MySQL Database vs using cPanel backup option?
    By IronMan101 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 30 Jul 2007, 08:46 AM
  2. Database Backup Manager - MySQL
    By sicness in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 7 Aug 2006, 09:42 PM
  3. Backup MySQL Database failure
    By JFD in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 3 Jun 2006, 06:55 AM

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