How to Create a Database | Create Database Using Doctrine | Learn Symfony 6 from Scratch

preview_player
Показать описание
This video will how you can simply create a database through the Symfony Console using the doctrine:create:database command - Want to learn an incredible open-source PHP framework? Symfony is one of the most popular frameworks when you need to build high-performance & complex web applications.

📚 New Udemy Course

📲 Let’s plan a meeting

💌 Newsletter

🔥 Resources

🔗 🔗 Useful links

Want to learn more?

📋 Table of Content
00:00 - Introduction
01:29 - Doctrine commands
02:47 - Adding our MySQL connection string
05:38 - Running the doctrine:create command

#symfony #symfony6 #php #mysql #database
Рекомендации по теме
Комментарии
Автор

Want to learn more about me? Let’s connect through Instagram.


codewithdary
Автор

Thanks for your tutorial,
I am running this command but it is taking much time without doing anything, do you have an idea about this?

ahmedchouihi
Автор

Darynazar great course, keep going! I wonder why you installed orm-pack and maker-bundle? You previously installed doctrine and aren't the ORM and its stuff also installed?

ilyasbakirov
Автор

Which extention do you use for the database (view) in vsc? And which plug in did you use for the theme in your shell?

maranatha
Автор

i've really liked this tutorial. u've got 1sub mr Dary

mozismaccarthy
Автор

An exception occurred in the driver: could not find driver

remember to set database credentials in the .env file

jollystay
Автор

I followed but cant create database. Throwing an error: An exception occurred in the driver: SQLSTATE[HY000] [2002]. Could you assist, please.
Ok, sorted it out. Xamp should be started, and my connection is without password.

ДмитрийЗадорожный-ыи
Автор

I always create a user through phpmyadmin with password. I never connect to the database through the framework using root user. I think that is a really bad idea to get used to.

TJ-tojx
Автор

How do I find my database username and password. I don't remember setting one. What do I do

relaxingtime
Автор

i keep getting error could not find driver when trying to create database

IsaiahMichael
Автор

An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)

ABC-hreu