Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8511671
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T04:04:13+00:00 2026-06-11T04:04:13+00:00

I am working on my test application in symfony2 with sqlite. I have install

  • 0

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

app/console doctrine:database:create 

Its giving error :

Could not create database for connection named data/ak.db
SQLSTATE[HY000] [14] unable to open database file

My Parameter.yml settings are :

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

and config.yml :

# 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
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T04:04:14+00:00Added an answer on June 11, 2026 at 4:04 am

    The database ‘path’ parameter has to list the full path to the database. In your case, you can do:

    doctrine:
        dbal:
            path: %kernel.root_dir%/src/test/%database_path%
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I’m working on a test-application for my master thesis where I’m trying to create
I'm working on a little test application at the minute and I have multiple
I'm working on a test application using Spring MVC. I have a Person class
i am newbie to mongoDB ,as i start working with test application (ASP.Net) found
I'm working on embedding Python in our test suite application. The purpose is to
I have been working on test framework, which creates a new app domain to
I have added some animation using jquery but it's not working: $('.test-container').click(function(){ $(this).css('background-color', 'rgb(119,
Background: Trevor was working on a test project solely for the purpose of trying
I am working on a test application based on ASP.NET MVC. I am new
I have written a simple test application using asp.net mvc with C#. The application

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.