Symfony3 The server returned a "500 Internal Server Error"
<p>I wanted to put my symfony3 code to hosting and after all i got </p>

<blockquote>
  <p>Oops! An Error Occurred</p>
  
  <p>The server returned a "500 Internal Server Error".</p>
  
  <p>Something is broken. Please let us know what you were doing when this
  error occurred. We will fix it as soon as possible. Sorry for any
  inconvenience caused.</p>
</blockquote>

<p>my parameters.yml</p>

<p># This file is auto-generated during the composer install</p>

<p>parameters:</p>

<pre><code>database_host: db.if.ktu.lt
database_port: null
database_name: lukmil
database_user: lukmil
database_password: "MyPassword"
mailer_transport: smtp
mailer_host:       127.0.0.1
mailer_user:       ~
mailer_password:   ~
secret: ThisTokenIsNotSoSecretChangeIt
</code></pre>

<p>that's what i get from prod log</p>

<blockquote>
  <p>[2016-10-11 18:18:40] request.INFO: Matched route "{route}".
  {"route":"authentication_register","route_parameters":{"_controller":"AppBundle\Controller\DefaultController::indexAction","_route":"authentication_register"},"request_uri":"<a href="http://lukmil.stud.if.ktu.lt/register" rel="nofollow">http://lukmil.stud.if.ktu.lt/register</a>","method":"GET"}
  [] [2016-10-11 18:18:40] security.INFO: Populated the TokenStorage
  with an anonymous Token. [] [] [2016-10-11 18:18:40] request.CRITICAL:
  Uncaught PHP Exception Doctrine\DBAL\Exception\ConnectionException:
  "An exception occured in driver: SQLSTATE[28000] [1045] Access denied
  for user 'root'@'stud.if.ktu.lt' (using password: NO)" at
  /home/lukmil/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php
  line 103 {"exception":"[object]
  (Doctrine\DBAL\Exception\ConnectionException(code: 0): An exception
  occured in driver: SQLSTATE[28000] [1045] Access denied for user
  'root'@'stud.if.ktu.lt' (using password: NO) at
  /home/lukmil/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:103,
  Doctrine\DBAL\Driver\PDOException(code: 1045): SQLSTATE[28000]
  [1045] Access denied for user 'root'@'stud.if.ktu.lt' (using password:
  NO) at
  /home/lukmil/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:47,
  PDOException(code: 1045): SQLSTATE[28000] [1045] Access denied for
  user 'root'@'stud.if.ktu.lt' (using password: NO) at
  /home/lukmil/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43)"}
  []</p>
</blockquote>

<p>What could I do?
On localhost it worked.. just in hosting doesn't</p>