title: The use of brackets in MySQL password
body: <p>I'm trying to use mysqldump to take a snapshot of my database, however the root password has brackets in and is causing me issues. As far as I knew, I could surround the password with [] in order for it to work but I still have an issue.</p>
  
  <p>What's the correct way to format this?</p>
  
  <pre><code>mysqldump -u root -p[(pwdwithbrackets)] databasename &gt; file.sql
  -bash: syntax error near unexpected token `('
  </code></pre>