Symfony 2: Using SQLite as Database

I tried using SQLite3 with Symfony 2 and Doctrine but it did not work at first. You need to add another config value because the sqlite driver needs to know the “path” of the datebase. For me it only worked when name == path.



One thought on “Symfony 2: Using SQLite as Database

  1. Thank you! very helpful I was just hitting the same wall. Running my development environment over a simple sqlite3 db and the production on a Postgresql this blog was helpful to set up my local slqite3 setup :-)