title: Symfony: SQLSTATE[HY000] [1045] Access denied for user 'user'@'localhost' (using password: YES)
body: <p>I've seen that this question has been asked a million times and I tried to apply every suggested solution I could find. I still get the error message "access denied".</p>
  
  <p>I'm on a MacBook using the MySqlWorkbench to setup my database. Initially I wanted the following parameters:</p>
  
  <pre><code>database_host: 127.0.0.1
  database_port: null
  database_name: starpartners
  database_user: starpartners
  database_password: "******"
  </code></pre>
  
  <p>but when I try to set up the database with user "star partners" and port "8000" I just get an error saying:</p>
  
  <blockquote>
    <p>Failed to Connect to MySQL at 127.0.0.1:8000 with user starpartners
    Lost connection to MySQL server at 'waiting for initial communication packet', system error: 60</p>
  </blockquote>
  
  <p>For system error 60 I wasn't able to find anything on the web..</p>
  
  <p>So I changed the port to the default "3306" and the username to "root" which at least helped me setting up the database.</p>
  
  <p>But when I then go back to my project and e.g. try to flush the db or clear the cache or access my project I keep getting the error.</p>
  
  <p>As you can see, my password is surrounded by quotation marks, the parameters are located in the parameters.yml file.</p>
  
  <p>My MySql server has the status running, so that can't be the problem either.</p>
  
  <p>Do you need any further information? Do you have any suggestions where I could look for a solution?</p>