title: How to configured symfony2 with sqlite
body: <p>I am working on my test application in symfony2 with sqlite.
      I have install symfony2 and trying to setup with sqlite, I have create 'data' folder under 'src/test' test namespaces, but when I run command</p>
  
  <pre><code>app/console doctrine:database:create 
  </code></pre>
  
  <p>Its giving error :</p>
  
  <blockquote>
    <p>Could not create database for connection named data/ak.db<br>
    SQLSTATE[HY000] [14] unable to open database file</p>
  </blockquote>
  
  <p>My Parameter.yml settings are :</p>
  
  <pre><code>parameters:
      database_driver: pdo_sqlite
      database_host: localhost
      database_port: null
      database_name: ak.db
      database_user: root
      database_password: null
      mailer_transport: smtp
      mailer_host: localhost
      mailer_user: null
      mailer_password: null
      locale: en
      secret: b4289c0b750d5c5b573788d79c4e1d130380ff7d
      database_path: data/ak.db
  </code></pre>
  
  <p>and config.yml :</p>
  
  <pre><code># Doctrine Configuration
  doctrine:
      dbal:
          driver:   %database_driver%
          host:     %database_host%
          port:     %database_port%
          dbname:   %database_name%
          user:     %database_user%
          password: %database_password%
          path:     %database_path%
          charset:  UTF8
  </code></pre>