• Resolved diver66

    (@diver66)


    Hi,

    I have a local install of Ampps on my windows10 machine, so far all plugins work,
    i just can’t get the backup to work, which is very important becasue I want to upload and import the backup on our live sever.

    These are the paths

    Path To mysqldump: D:/WEB/Ampps/mysql/bin/mysqldump.exe
    Path To mysql: D:/WEB/Ampps/mysql/bin/mysql.exe
    Path To Backup: D:\WEB\Ampps\www\europe.local\wp-content\backup-db

    here is the output from the backup:
    “D:/WEB/Ampps/mysql/bin/mysqldump.exe” –force –host=”localhost” –user=”europe” –password=”m1d7f8PS .” –default-character-set=”utf8″ –add-drop-table –skip-lock-tables a2zeurope > “D:/WEB/Ampps/www/europe.local/wp-content/backup-db/1481495735_-_europe.sql”

    Database Failed To Backup On ’11. December 2016 @ 22:35′. Backup File Size Is 0KB.

    Any Ideas ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Lester Chan

    (@gamerz)

    Can try running that in command prompt?

    Thread Starter diver66

    (@diver66)

    Great idea, just did, it says

    Warning: Using a password on the command line interface can be insecure.
    mysqldump: Got error: 1045: Access denied for user ‘a2zeurope’@’localhost’ (using password: YES) when trying to connect

    and that is actually true the passowrd in the commandline is missing a ‘!’
    I am trying it again now and add the ‘!” by hand.

    Guess what – now it worked in the commandline – strange – i will take out the ‘!’ from the passphrase

    • This reply was modified 7 years, 11 months ago by diver66.
    • This reply was modified 7 years, 11 months ago by diver66.
    • This reply was modified 7 years, 11 months ago by diver66.
    • This reply was modified 7 years, 11 months ago by diver66.
    • This reply was modified 7 years, 11 months ago by diver66.
    Plugin Author Lester Chan

    (@gamerz)

    Might be the ! in the password be a security risk when running the CLI. Because all the commands for the plugin are sanitize for security reasons.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Local Install of Ampps’ is closed to new replies.