From 88eec404a3009522548c85127cbee3d527b10cee Mon Sep 17 00:00:00 2001 From: dkovel Date: Thu, 6 Jul 2017 13:01:14 +0300 Subject: [PATCH] fix errors ./mysql-export.sh: 63: [: ==: unexpected operator ./mysql-export.sh: 63: [: ==: unexpected operator ./mysql-export.sh: 84: [: ==: unexpected operator ./mysql-export.sh: 87: ./mysql-export.sh: [[: not found . --- README.md | 2 +- mysql-export.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f7cbd80..53e0b3a 100644 --- a/README.md +++ b/README.md @@ -18,5 +18,5 @@ Export MySQL data from phpmyadmin using curl. Common uses: - mysql-export.sh --tables=hotel_content_provider --add-drop --database=hs --stdout --use-keychain --apache-user=betatester --phpmyadmin-user=hs --apache-password=www.example.com\ \(me\) --phpmyadmin-password=phpmyadmin.example.com --host=https://www.example.com/phpmyadmin | gunzip | mysql -u root -p testtable +bash mysql-export.sh --tables=hotel_content_provider --add-drop --database=hs --stdout --use-keychain --apache-user=betatester --phpmyadmin-user=hs --apache-password=www.example.com\ \(me\) --phpmyadmin-password=phpmyadmin.example.com --host=https://www.example.com/phpmyadmin | gunzip | mysql -u root -p testtable exports and imports on the fly in local db diff --git a/mysql-export.sh b/mysql-export.sh index 2c643ea..2cd6ef2 100755 --- a/mysql-export.sh +++ b/mysql-export.sh @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash #set -x