Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
In symfony you can connect your project with a existing database very easily. Just follow the below mentioned steps and you are ready to go.
Step: 1
Open your Terminal or Command prompt and generate a new bundle as usual but be sure the version you are using for symfony m currently using 2.8 thats why the below commands are according to 2.8 version
Now just mention all the settings as asked by the terminal/ command prompt and when your bundle is generated go for next step.
Step: 2
Now go to app/config folder and go to parameters.yml file. There change the database settings as you want i.e. database_driver, username, password and database name (the name of the existing table in that database.
Step: 3
As you have mentioned your database info now we have to import the database and map it to our project. for that just run the command.
When it is done go for next step. And if it shows driver not found or driver Exception, then you need to change some settings in your php.ini file.
Step: 4
Now generate the entities in your project with the command below
And your database is connected and configure with your project. Happy Coding!!!
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Webkul is a truly trusted and supported IT Company to develop business ideas for e-commerce. They provide professional support after deploying the solution to production and be responsible to act for fixing the reported issues or system errors. We highly encourage to deal with Webkul for business development.
Hussein Zawia
Co-founder, 24Dokan
USA
India
Global
Name
Email
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.