J'ai installé MySQL sur mon Mac, et maintenant je voudrais l'ajouter à ma $PATHvariable. Je veux pouvoir taper mysqln'importe où.
J'ai essayé d'ajouter ce qui suit à mon .profilefichier:
export PATH=${PATH}/usr/local/mysql/bin/
J'ai redémarré mon terminal mais il ne fait pas l'affaire. Il dit encore: -bash: mysql: command not found.
Comment puis-je l'ajouter correctement à mon $PATH?
J'utilise OS X Yosemite.