Aller au contenu

Dump d'une base mysql situé sur un autre serveur ?

Featured Replies

Posté(e)
Hello,
 
J'essai de faire une tâche planifiée qui fait un dump d'une base mysql sur un serveur distant mais quand mon script est exécuté j'ai ce message :
État actuel : 127 (Interrompu) Sortie standard/erreur : sh: mysqldump: command not found
 
Une idée ?
 
Merci :)
Posté(e)
  • Auteur

Merci j'ai trouvé pourqoi ça ne marchait pas (il faut mettre le chemin entier d'où se troue mysqldump) mais maintenant j'ai un autre problème.

/usr/local/mariadb10/bin/mysqldump -h [IP] -u [USER] -p[PASSWORD] [Table] >[BACKUP PATH]-$(date +%Y-%m-%d-%H-%M-%S).sql

Voici la nouvelle erreur : Got error : 2002 : Can't connct to MySQL server on [IP] (115) when trying to connect.

Alors que ça marche sur mon pc.

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Répondre à ce sujet…

Account

Navigation

Rechercher

Rechercher

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.