Search:

Type: Posts; User: NXArmada; Keyword(s):

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    15,194

    You have mysqldump 2x's ...

    You have mysqldump 2x's



    /opt/lampp/bin/mysqldump mysqldump


    remove the second mysqldump at the end
  2. Replies
    8
    Views
    15,194

    Config.php

    Config.php



    <?php
    // This is an example of config.php
    $dbhost = 'localhost';
    $dbuser = 'root';
    $dbpass = 'password';
    $dbname = 'phpcake';
  3. Replies
    8
    Views
    15,194

    View Post

    <?php
    include 'config.php';
    include 'opendb.php';

    $backupFile = $dbname . date("Y-m-d-H-i-s") . '.gz';
    $command = "mysqldump --opt -h $dbhost -u $dbuser -p $dbpass --all-databases | gzip >...
Results 1 to 3 of 3