29: How to Create a MySQL Database for PHP | PHP Tutorial | Learn PHP Programming | PHP Lesson

How to create a MySQL database for PHP – Learn PHP backend programming. Today we will start learning about MYSQL databases. This is important since PHP is commonly used together with databases to make a website more interactive.


First of all, thank you for all the support you have given me!

I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!

I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.

I hope you will find it helpful 🙂

Material for this lesson: https://www.patreon.com/posts/php-29-download-15629692


Ronny Banerjee says:

very good tutorial ….I’m really satisfied with this,exactly what i needed to know. Are you using XAMPP for php??

Milan Delija says:

SQL query: Edit

SET lc_messages = ‘en_US’;
MySQL said:

#1193 – Unknown system variable ‘lc_messages’

cant solve this error when i open localhost/phpmyadmin

Shanya Verma says:

when i try to open my database the page gets stuck on loading. What to do?

Knocker SSeries says:

When I try and run MySQL on Apache

04:27:39 م [mysql] Error: MySQL shutdown unexpectedly.
04:27:39 م [mysql] This may be due to a blocked port, missing dependencies,
04:27:39 م [mysql] improper privileges, a crash, or a shutdown by another method.
04:27:39 م [mysql] Press the Logs button to view error logs and check
04:27:39 م [mysql] the Windows Event Viewer for more clues
04:27:39 م [mysql] If you need more help, copy and post this
04:27:39 م [mysql] entire log window on the forums

Keep on getting this error

Muhammad Muneeb Khan Afridi says:

You are the besttttttttttttttttt!!!

Chirag Arora says:

How much can a single advertisement pay? Apology for a wrong and direct question. But what are the reasons a video gets an advertisement? If you don’t want to reply, you can ignore it as well. I just don’t mean to freak you out. But as always I am curious.

goutham vr says:

can u create a video for how to use the php source code

dani love says:

Great effort i appreciate it man thanks & / is forward slash

shibli tauheed says:

I am only learning how to write, but I don’t know how to implement it or practice php anywhere, what should I do to practice it ?

vik says:

You are the best

Jeremiah Nji says:

Have an interview with a company needing a Backend PHP Developer. Your videos are helping re-enforce my knowledge! THANK YOU


nice tutorial series!!!! loved it

Killa Gorilla says:

Man your videos are great! Hope you keep it up!

RandomGirl says:

Great tutorials!

MyYou says:

= backslash
/ = divide

Smart Potato says:

thank you.

Adir Zoari says:

great tutorial, can you please explain how to open no localhost server? I mean a real hostserver and what to write into the connection to php?

Talal Mirza says:

I am getting an error 200 when i click on creat database
It shows me the processing request and nothing works after that
Plz anyone tell me how can i fix it

Vaiiho Nascimbene says:

Interclassement must be collation today! For the db creation part, isn’It?

John Richardson II says:

Hey Daniel,
thanks for your tutorials, they are very instructive. Which hosting company you recommend I used.

Jon Berghouse Drums says:

I have a question about getting to the myadmin page. It only works when I include localhost:8080. Without ‘:8080’ it doesn’t work and since I’m new to all this so I don’t really know what any of it means. Do you know why 8080 is needed? Thank you for doing this series. It continues to be incredibly helpful!

dhruv jaiswal says:

Where is the database stored

Animagus says:

Im stuck on loading when i open phpmyadmin

 Write a comment


Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!