Тёмный

PHP Connect to MySQL Database | 2 Methods 

CodeFlix
Подписаться 9 тыс.
Просмотров 197 тыс.
50% 1

Опубликовано:

 

10 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 126   
@coltan0233
@coltan0233 2 года назад
Great quick video that showed EXACTLY what I needed. Thank you. And I also see you helping people with their issues in the comment section, always great to see this sort of stuff.
@rafhaellowixhomwad
@rafhaellowixhomwad Год назад
Fatal error: Uncaught mysqli_sql_exception: Unknown database
@1234Julo
@1234Julo 7 месяцев назад
and?
@rafhaellowixhomwad
@rafhaellowixhomwad 7 месяцев назад
​@@1234Julodont mind that.
@1234Julo
@1234Julo 7 месяцев назад
@@rafhaellowixhomwad ok
@AstroFarsography
@AstroFarsography Год назад
straight to the point and shown me exactly where I was going wrong. Thanks!
@user-jy4ye7fy9i
@user-jy4ye7fy9i 3 месяца назад
We are in the same category
@CodeFlix12
@CodeFlix12 3 месяца назад
Much appreciate your comment!
@anthonyifeanyichukwu
@anthonyifeanyichukwu Месяц назад
You hit the nail by the head. Thanks bro.
@rainlesscloud3128
@rainlesscloud3128 11 месяцев назад
Thanks for the video series. Exactly what i was looking for not over complicated
@CodeFlix12
@CodeFlix12 10 месяцев назад
Glad to hear it!
@gbenonvi5078
@gbenonvi5078 2 дня назад
thank you very much !
@Juan0001bits
@Juan0001bits 2 года назад
first method worked for me thank yooou so much saved my life. I had to run on my webhost to get the connection success.
@CodeFlix12
@CodeFlix12 2 года назад
♥️♥️
@nouhaila4801
@nouhaila4801 Год назад
Pls can u tell how do you know the "path of the fil"of your fil php ???????
@billyfrcs19
@billyfrcs19 3 года назад
Thank u Indian guy on RU-vid👏
@CodeFlix12
@CodeFlix12 3 года назад
♥️♥️
@RobertoAlexanderTripodi
@RobertoAlexanderTripodi 3 месяца назад
Thanks!
@harvestkyoya
@harvestkyoya Месяц назад
Thankyou my hero
@canwia
@canwia 2 года назад
i have an exception like Uncaught mysqli_sql_exception: Access denied for user 'root'@'localhost' when i serve project. Can you help about that?
@CodeFlix12
@CodeFlix12 2 года назад
Check if your password is correct for mysql
@kieranteets527
@kieranteets527 2 года назад
When i try to run both codes in the browser im getting a blank white screen does anyone know what would cause this?
@afreenansari6472
@afreenansari6472 2 года назад
Thank u so much , finally worked
@CodeFlix12
@CodeFlix12 2 года назад
❤️❤️
@danidan2235
@danidan2235 2 года назад
In which folder is the database stored? Is it in the same folder where you store your php files, or do you create a subfolder like when you do to put CSS, JS or images for example, or is it somewhere else?
@CodeFlix12
@CodeFlix12 2 года назад
You can do either way you want to, there is no harm in both
@charllotegracesarzuelo2015
@charllotegracesarzuelo2015 2 года назад
Thank you so much! Its very helpful
@CodeFlix12
@CodeFlix12 2 года назад
♥️♥️
@asleshka
@asleshka Год назад
I found it useful
@shovanchowdhury4466
@shovanchowdhury4466 2 года назад
Fatal error: Uncaught Error: Class "mysqli" not found in C:\Users\User ewphp\connect.php:5 Stack trace: #0 {main} thrown in C:\Users\User ewphp\connect.php on line 5 Why this problem is arising???
@rbvcxyzih
@rbvcxyzih Год назад
Did u find out the error mine is also showing same😢
@rbvcxyzih
@rbvcxyzih Год назад
Pls help me
@jhossepmartinez1771
@jhossepmartinez1771 Год назад
@@rbvcxyzih ask chatgpt
@timfairfield407
@timfairfield407 3 года назад
well explained thanks
@CodeFlix12
@CodeFlix12 3 года назад
♥️♥️
@NextElonMusk
@NextElonMusk 3 года назад
pls help he is sayind the database not exist but it exist i dont now what tp do
@CodeFlix12
@CodeFlix12 3 года назад
You are using phpmyadmin?
@Life.of.Yogithaa
@Life.of.Yogithaa 3 года назад
Thanks a lot.. It was very helpful
@CodeFlix12
@CodeFlix12 3 года назад
🙌🙌
@mamidisomasekhar7890
@mamidisomasekhar7890 3 года назад
how to find path??
@CodeFlix12
@CodeFlix12 3 года назад
Of?
@value_investing_indonesia
@value_investing_indonesia 4 года назад
hey so does it work it i put the page online? or will it only work in local
@CodeFlix12
@CodeFlix12 4 года назад
It works on servers too
@imtiazxkhan
@imtiazxkhan 4 года назад
Very helpful!!!
@CodeFlix12
@CodeFlix12 4 года назад
❤️❤️❤️
@CodeFlix12
@CodeFlix12 3 года назад
😂😂
@tranphuocinh8975
@tranphuocinh8975 2 года назад
Nice video!
@CodeFlix12
@CodeFlix12 2 года назад
❤️❤️❤️
@subha_ssk6084
@subha_ssk6084 3 года назад
Thanks dude. 😊
@CodeFlix12
@CodeFlix12 3 года назад
🙌🙌
@raniakarim6161
@raniakarim6161 2 года назад
Thank you How we can connectd to 2 server for comparer data base in the diff server
@CodeFlix12
@CodeFlix12 2 года назад
Same way 2 files
@raniakarim6161
@raniakarim6161 2 года назад
@@CodeFlix12 i tried but didn't work How please؟
@CodeFlix12
@CodeFlix12 2 года назад
You have to use different ports too
@scripttonight4471
@scripttonight4471 3 года назад
Why does indian guys teach us simple and fast
@CodeFlix12
@CodeFlix12 3 года назад
Because we feel all the people beginning their journey in coding
@scripttonight4471
@scripttonight4471 3 года назад
@@CodeFlix12 thank you very much you are a huge help for us
@CodeFlix12
@CodeFlix12 3 года назад
Anytime♥️♥️
@studiopuja9805
@studiopuja9805 3 года назад
i can't sucess..by this process please help me dude....!
@CodeFlix12
@CodeFlix12 3 года назад
Whats the error?
@nishiminasya
@nishiminasya Год назад
please help me
@jashwanthpalleti1632
@jashwanthpalleti1632 3 года назад
fatal error: Uncaught Error: Call to undefined function mysqli_connection_error() how to fix this bro
@CodeFlix12
@CodeFlix12 3 года назад
There is problem in server
@CodeFlix12
@CodeFlix12 3 года назад
Not code
@jashwanthpalleti1632
@jashwanthpalleti1632 3 года назад
Can you please help me out solving it
@CodeFlix12
@CodeFlix12 3 года назад
What is color of wamp server?
@ecekzlkaya5388
@ecekzlkaya5388 2 года назад
how did you solve it? i have the same problem
@codingforest7442
@codingforest7442 3 года назад
please Warning: mysqli::__construct(): (HY000/1045): Access denied for user 'abdessamad'@'localhost' (using password: NO) help me , i cant access to my user
@CodeFlix12
@CodeFlix12 3 года назад
Entering wrong password for db
@codingforest7442
@codingforest7442 3 года назад
NO isnt wrong ,and i get this error
@CodeFlix12
@CodeFlix12 3 года назад
From the error that you have posted I know it's for db password sir
@deepikas982
@deepikas982 Год назад
404 not found error
@CodeFlix12
@CodeFlix12 Год назад
where?
@fitnesspro8856
@fitnesspro8856 4 года назад
hello the first methods was working fin thank you but the 2ed was not can see the where the problem plz Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp\htdocs\conntest\testconn.php:9 Stack trace: #0 C:\xampp\htdocs\conntest\testconn.php(9): PDO->__construct('mysql:host=loca...', 'root', '') #1 {main} thrown in C:\xampp\htdocs\conntest\testconn.php on line 9
@CodeFlix12
@CodeFlix12 4 года назад
Your password us wrong for that
@fitnesspro8856
@fitnesspro8856 4 года назад
@@CodeFlix12 thank you but why is the first code was working , and i dont set any password can you plz help i'm really stack
@CodeFlix12
@CodeFlix12 4 года назад
Then what did you pass as password
@fitnesspro8856
@fitnesspro8856 4 года назад
@@CodeFlix12 just """" as password
@thyagarajn616
@thyagarajn616 Год назад
Nice video.. I am getting 405 error
@amalajosephinej6533
@amalajosephinej6533 2 года назад
Can anyone send this php file as attachment
@malakmuhammaddd
@malakmuhammaddd Год назад
niceeeeeee
@vinnyjude1645
@vinnyjude1645 Год назад
Can you do a video of to display information from a form to show in the database who has signed in or registered..kindly ASAP urgent
@vijayrvijay4987
@vijayrvijay4987 4 года назад
got error only
@ashwintiwari8516
@ashwintiwari8516 4 года назад
Make a video for login and register form
@CodeFlix12
@CodeFlix12 4 года назад
I already have that sir
@ashwintiwari8516
@ashwintiwari8516 4 года назад
Please shair link
@CodeFlix12
@CodeFlix12 4 года назад
Search CodeFlix login and signup
@CodeFlix12
@CodeFlix12 4 года назад
You will get 3 videos how to make a form, how to login how to signup
@ashwintiwari8516
@ashwintiwari8516 4 года назад
Thanks bro
@kerepekubi8783
@kerepekubi8783 3 года назад
Why when I run, the site can't to reach? Help me 😭
@CodeFlix12
@CodeFlix12 3 года назад
Watch my video on wamp server setup
@ST-wd2xc
@ST-wd2xc 3 года назад
Access denied for user ‘root’@‘localhost’ help
@CodeFlix12
@CodeFlix12 3 года назад
You are entering wrong db password so
@nuradrianabintimohdyuslebi6538
@nuradrianabintimohdyuslebi6538 2 года назад
@@CodeFlix12 how do we know the password?
@ashutoshgavali3086
@ashutoshgavali3086 4 года назад
Make video apphp cms how to connect localhost
@CodeFlix12
@CodeFlix12 4 года назад
Apphp?
@ashutoshgavali3086
@ashutoshgavali3086 4 года назад
@@CodeFlix12 apphp cms I am trying to installation localhost problem please solve
@ashutoshgavali3086
@ashutoshgavali3086 4 года назад
@@CodeFlix12 any problem please make video
@calvinsaxon5822
@calvinsaxon5822 3 года назад
Useful information, but...why is it that EVERY tutorial only ever uses 'localhost' and NEVER explains how to connect to a remote database (like gearhost). How many apps today uses a local database? Not criticizing, just expressing frustration. Cannot find this info anywhere.
@CodeFlix12
@CodeFlix12 3 года назад
I can help you email me
@Shuugox
@Shuugox 3 года назад
@@CodeFlix12 I've been having this issue too. I'm trying to connect but i keep getting Error 500 :(
@CodeFlix12
@CodeFlix12 3 года назад
Email.me
@8dsongsclub
@8dsongsclub 3 года назад
I'm also facing this issue please help me.
@CodeFlix12
@CodeFlix12 3 года назад
Just replace remote database link with the localhost
@nouhaila4801
@nouhaila4801 Год назад
Code flix ???
@CodeFlix12
@CodeFlix12 10 месяцев назад
Yes?
@shivaniarora2591
@shivaniarora2591 10 месяцев назад
a) Write a PHP script that connects to a MySQL database and creates a table named "products" with the following constraints: Primary key constraint on the "product_id" column. Unique constraint on the "product_code" column. Check constraint to ensure that the "price" column is greater than zero. b) Apply Insertion, Updating and Deletion of rows in MYSQL tables. Is question kis ko aata hai kya
@user-lt3ps5ku3y
@user-lt3ps5ku3y Год назад
not working pota
@CodeFlix12
@CodeFlix12 10 месяцев назад
Error?
@todaysepisode8286
@todaysepisode8286 7 месяцев назад
most 3rd class video guys dont watch it
@CodeFlix12
@CodeFlix12 7 месяцев назад
😂😂
@waltersabino9891
@waltersabino9891 2 года назад
Thank you!
@CodeFlix12
@CodeFlix12 2 года назад
❤️❤️
Далее
Save HTML Form Data to a MySQL Database using PHP
24:38
PHP how to connect to MySQL database
8:50
Просмотров 18 тыс.
Новый уровень твоей сосиски
00:33
How to connect HTML form to MySQL Database with PHP.
26:30