summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocaldumpsql2
1 files changed, 1 insertions, 1 deletions
diff --git a/localdumpsql b/localdumpsql
index 375e201..5b4d5cb 100755
--- a/localdumpsql
+++ b/localdumpsql
@@ -63,7 +63,7 @@ function mysql_db_user() { if [ -n "$1" ]; then echo "$1"; else mysql -u root my
#function mysqldump_user_db() { $mysql_bin --opt --user="$1" --password="`mysqlpasswd_user $1`" "$2"; }
#function mysqldump_user_db() { $mysql_bin --opt --user="root" --password="`mysqlpasswd_user root`" "$2"; }
#function mysqldump_user_db() { $mysql_bin --opt --user="root" "$2"; }
-function mysqldump_user_db() { $mysql_bin --add-drop-table --add-locks --all --quick --lock-tables --disable-keys --user="root" "$2"; } # Avoid --extended-insert
+function mysqldump_user_db() { $mysql_bin --add-drop-table --add-locks --all-databases --quick --lock-tables --disable-keys --user="root" "$2"; } # Avoid --extended-insert
function postgresvalid() { [ -x $postgres_bin ]; }
function postgres_users() { echo "root"; } #FIXME