Connect to MySQL with PHP in XAMPP / Create a new database

  Рет қаралды 1,882,594

Ken Swartwout

Ken Swartwout

Күн бұрын

Пікірлер: 381
@kenson_kw
@kenson_kw 2 жыл бұрын
I just realized, information never dies! This video is 8 years old and turns out this information is exactly what i needed and how i needed it in 2022 😮‍💨. Thank you dude!
@PrasanthS-f2o
@PrasanthS-f2o 9 күн бұрын
now it's useful for me in 2024
@GabbeSama
@GabbeSama 5 ай бұрын
i'm a student and i'm here to say that your video still saves me, thanks a lot!
@maxmoore8480
@maxmoore8480 8 жыл бұрын
This tutorial was not only exactly what I needed but well explained, clear, and slow but concise, thanks a lot!
@rahulsyt_
@rahulsyt_ Жыл бұрын
10 years later I am watching these videos. Real G(Old) videos.
@TheOriginalDarkGlitch
@TheOriginalDarkGlitch 4 жыл бұрын
Thanks for making this video. I just started fooling around with MySQL and was following another tutorial that didn't explain this part at all.
@ismailabdow3844
@ismailabdow3844 4 жыл бұрын
Now connected after 10hrs of struggling with other videos .. Very helpful
@itstobystic
@itstobystic 4 жыл бұрын
This guy's voice is cool, he made the video sound like a movie trailer. Thank you
@imtiazxkhan
@imtiazxkhan 4 жыл бұрын
7 years and still this video is lit!!!
@99plus89
@99plus89 8 жыл бұрын
It was a day saver for me! I tried 5-7 another PHP ways connect to the database on latest versions XAMPP Unsuccessfully. This video obviously showed the right way. Thank You very much.
@Tommeke11
@Tommeke11 10 жыл бұрын
Thank you for this video! My course notes weren't complete for the starting part and connection. This video saved me from a lot of headaches. The start is definitely the most difficult part.
@KenSwartwout
@KenSwartwout 10 жыл бұрын
Getting started can be intimidating. Very happy to help!
@haritastbg
@haritastbg 10 жыл бұрын
Thank you Ken. I have just started learning php. This video is of great help to me to create my database and first php program.
@KenSwartwout
@KenSwartwout 10 жыл бұрын
Great to hear. Getting started with a test bed like XAMPP is a large barrier to overcome!
@shahsulaiman851
@shahsulaiman851 5 жыл бұрын
ulearn
@Mayur_
@Mayur_ 10 жыл бұрын
Thank you! :) I was trying to connect html form to my database, wasn't working. But it's perfect now. Simple and correct video.
@robynbazsika239
@robynbazsika239 9 жыл бұрын
Thanks so much. I am just teaching MySQL and PHP to my High School Students. This is a great video and very informative.
@KenSwartwout
@KenSwartwout 9 жыл бұрын
Great to hear. Getting started is one of the more difficult parts of the process.
@420blazeurmomacrossmaptoma5
@420blazeurmomacrossmaptoma5 9 жыл бұрын
Robyn Bazsika You're a teacher you swine, you should know this shit and not have to google it in order to understand it - i hate you and your students.
@420blazeurmomacrossmaptoma5
@420blazeurmomacrossmaptoma5 9 жыл бұрын
Robyn Bazsika 22 Middleton Rd, Kew, Dunedin 9012 got u bitch
@420blazeurmomacrossmaptoma5
@420blazeurmomacrossmaptoma5 9 жыл бұрын
420blazeurmom acrossmaptomahawk im coming to teach ur students a real lesson \ for once
@420blazeurmomacrossmaptoma5
@420blazeurmomacrossmaptoma5 9 жыл бұрын
420blazeurmom acrossmaptomahawk .
@davidsmith-ws4bz
@davidsmith-ws4bz 4 жыл бұрын
For learning right click the XAMPP ICON and select" Run as Administrator", otherwise its easy to end up locked out. Thanks for the vid.
@tahsinhimu3609
@tahsinhimu3609 2 жыл бұрын
finalllyyyy after trying for 3 days your way got this connected!
@karvin9
@karvin9 9 жыл бұрын
Thank you Ken, I found this video a lot more helpful than other videos I found online
@uday0532
@uday0532 Жыл бұрын
Information never dies this is exactly what I need and it is from 9 years ago 😄😄😄
@TheAhernFamily1
@TheAhernFamily1 9 жыл бұрын
This is really easy to follow thanks for the great tutorial.
@KenSwartwout
@KenSwartwout 9 жыл бұрын
+Aheezy Da Islander You are welcome and thanks for the feedback.
@stevodoe4900
@stevodoe4900 5 жыл бұрын
Very Helpful thank you! As someone who struggles with learning PHP I thought this was one the best videos I've seen in a while. If you haven't done so would you consider doing a beginner PHP / MySqL Tutorial Series for phpMyAdmin. Preferably focus on more the PHP aspect but general overview of the others would amazing also.
@PanduricaBlues
@PanduricaBlues 6 жыл бұрын
That´s the voice I want to have in my tutorials. Even if you´d be talking about how to eat pudding I would listen to you :)
@tareqmahmud3902
@tareqmahmud3902 2 жыл бұрын
this is the cleanest tutorial ever! thank you, god bless you!
@soudabuhanak7141
@soudabuhanak7141 4 жыл бұрын
cool cool cook i watched a 100's of video regarding this, but all of that video no going success you are only the one who make it success 100% thank you so much voice tone amazing!!! i appreciate this video since 2013
@ankitabhishek5575
@ankitabhishek5575 6 жыл бұрын
thanks a lot.was misguided by other videos.saw yours and it worked.
@HustlerEli
@HustlerEli 2 жыл бұрын
Amazing and well explained tutorial.
@venkateshprasad6432
@venkateshprasad6432 6 жыл бұрын
short and simple tutorials ,thanks dude
@arbudastudio5864
@arbudastudio5864 2 жыл бұрын
This is really easy to follow thanks for the great tutorial. ☺
@laoadventuretour5012
@laoadventuretour5012 2 жыл бұрын
Very good Video which easy to understand and thank you for sharing
@iconsworld9
@iconsworld9 2 жыл бұрын
Found this extremely useful, appreciate it
@ethanlee2197
@ethanlee2197 10 жыл бұрын
Hi there, I wanted you to know how much I appreciate you video. Thank you very much. I've been having trouble connecting to database for like a whole day and then after watching this video, man its funny really. I put the password as root.
@KenSwartwout
@KenSwartwout 10 жыл бұрын
When you are not sure exactly what you should be doing it can be a nightmare!
@bhaveshbhoye6942
@bhaveshbhoye6942 4 жыл бұрын
Thanks bro Love from India
@lakemartin4959
@lakemartin4959 7 жыл бұрын
I got it, so i'm giving you a thumbs up and because you don't move super fast and speak very plainly i.m going to subscribe...:-)
@GlennGasner
@GlennGasner 2 жыл бұрын
Thank you for this!
@elvisadjei2062
@elvisadjei2062 9 жыл бұрын
Good work done. uv really helped me in my assignment. Thumps Up......
@DaleGomes
@DaleGomes 10 жыл бұрын
Thanks Ken. Worked just the way you said it!
@KenSwartwout
@KenSwartwout 10 жыл бұрын
That is always good to hear. There are many places that the process can go the wrong direction
@arpandas411
@arpandas411 9 жыл бұрын
Excellent video! Works Perfectly for me!
@420blazeurmomacrossmaptoma5
@420blazeurmomacrossmaptoma5 9 жыл бұрын
Arpan Das you don't work perfectly.
@Dominarfans
@Dominarfans 6 жыл бұрын
thanks for the support , that really worked , GREAT WORK !!!!
@demiRedRush
@demiRedRush 2 жыл бұрын
amazing tutorial, clear,concise and exactly the tutorial i needed.
@abdurrazzak1612
@abdurrazzak1612 8 жыл бұрын
thanks that was my first connection on php
@tahadaboussi7831
@tahadaboussi7831 2 жыл бұрын
almost 9 years old , but still great tutorial
@colinhastings9215
@colinhastings9215 8 жыл бұрын
You are my hero! Thank you for this video!
@aerotechplustwo6914
@aerotechplustwo6914 8 жыл бұрын
thank you for clarifying that for me.. this is very much greatly appreciated sir.
@agborie
@agborie 3 жыл бұрын
Great tutorial! Easy and fast.
@PeteMac84
@PeteMac84 7 жыл бұрын
Great! Finally got it.
@proo5577
@proo5577 7 жыл бұрын
Just used this works great. Any updated info I should look into?
@tahirabbas2811
@tahirabbas2811 6 жыл бұрын
You're love man and of course KZbin is love. Thanks
@tekoreypy
@tekoreypy 5 жыл бұрын
great tutorial, the best one for sure, clear and simple
@Lazar94SRB
@Lazar94SRB 7 жыл бұрын
Finally code that works!
@sistematico17
@sistematico17 6 жыл бұрын
Well explained and concise. Thanks so much!
@Herculean61
@Herculean61 2 жыл бұрын
Do you have a video on an event locator database..just like this one
@jeremiahrighteous7499
@jeremiahrighteous7499 7 жыл бұрын
God bless! it works and you save me alot of works. thanks
@papaOhmTV
@papaOhmTV 7 жыл бұрын
Very helpful video! Thank you so much!
@lewioesports
@lewioesports 7 жыл бұрын
I didt everything you did in the video, but when i open the connect.php (i have it in the right folder /htdocs) it loads infinitly. Does someone know why it is loading all time?
@procoder1745
@procoder1745 7 жыл бұрын
very nice sir you are great
@bluffer8352
@bluffer8352 7 жыл бұрын
Great explanation, cheers.
@sagarsole999
@sagarsole999 4 жыл бұрын
Thanks It Really Helpful for me.
@aashimamadaan2
@aashimamadaan2 7 жыл бұрын
really ...thanks a lot !!!!!!!Your work is appreciable....it seemed so difficult but you made it easy :) I hope you will make more such videos all the best
@Xarbrough
@Xarbrough 9 жыл бұрын
Thank you, this is perfect for getting started!
@chethanabhaskara480
@chethanabhaskara480 9 жыл бұрын
This video is great. However, after creating a database using phMyAdmin, if I open the mysql shell via xampp control panel and query "Show databases" , I'm only seeing the 'test' database and not the one I created. How I do I access it using the shell?
@tonthekid7946
@tonthekid7946 8 жыл бұрын
Good job, Thank you for your tutorial.
@pockeybearmilk264
@pockeybearmilk264 7 жыл бұрын
thank you so much now I understand how it works , thank you again
@kennethkath6527
@kennethkath6527 2 жыл бұрын
I've made a website but I cant save the data in the database which was entered by the user(me) in the website. I'm wondering whats wrong.
@procoder1745
@procoder1745 7 жыл бұрын
this video is mind blowing
@edwinmukhalisi5015
@edwinmukhalisi5015 8 жыл бұрын
Awesome Helped me Big Time
@aniruddhasolanki9480
@aniruddhasolanki9480 2 жыл бұрын
thank you so much!! that was super easy.....
@gunner9456
@gunner9456 10 жыл бұрын
when i click on the admin button, it gives me error 404 not found message . please tell me how tosolve this problem, please someone help me
@swolyjr
@swolyjr 7 жыл бұрын
which program are you using in notepad++ to 'RUN' the php code? i lick run and it asks me to choose a program to run it. i dont know which program to choose.
@goatskills2382
@goatskills2382 8 жыл бұрын
+Ken Swartwout What should I do when I don't have a hosting (yet)?
@KenSwartwout
@KenSwartwout 8 жыл бұрын
+GoatSkills If you don't have a host, then a tool like XAMPP is exactly what you need. XAMPP (or similar tools) turn your local machine into a host.
@MikesTrackBuilding
@MikesTrackBuilding 9 жыл бұрын
Thank you so very much for the little series. Are you by chance going to do some more videos showing how to create and query databases? Mike
@radeepyenni5541
@radeepyenni5541 6 жыл бұрын
when i want to connect to database of other than the root then it was not connected what can i do to connect to the datbase of user account
@chrisniell3915
@chrisniell3915 6 жыл бұрын
It can be access with different computers or guest ? Who connected to your hub.
@BrofaBloke
@BrofaBloke 10 жыл бұрын
No comments pointing out he used the $db variable twice? (Once to store the dbname and again to create the connection). Either way good video as this bit of information is often overlooked in the classroom...
@knlkumar
@knlkumar 6 жыл бұрын
assigned to a function mysqli with new prefix. i think both variable works differently even after having same name
@apoozkan8361
@apoozkan8361 6 жыл бұрын
Hi, i did the same thing but it just shows my code when i run it ? how can i fix this
@Ackerman_cher
@Ackerman_cher Жыл бұрын
thanks man that was helpful!😍
@user-en5vj6vr2u
@user-en5vj6vr2u 5 жыл бұрын
how do you access the db now bc i barely know sql
@danahgarwan9585
@danahgarwan9585 10 жыл бұрын
This is helpful, Thank you!
@shahsulaiman851
@shahsulaiman851 5 жыл бұрын
ulearn
@marcaboujaoude5874
@marcaboujaoude5874 9 жыл бұрын
sorry but when i'm running your code is giving that "sqli" was not found can you help me out on this one ?
@ismailabdow3844
@ismailabdow3844 4 жыл бұрын
Thank you so much u help mi a lot best video
@kartikangira
@kartikangira 8 жыл бұрын
thanks for the help working like a charm
@johnsdaniel8394
@johnsdaniel8394 3 жыл бұрын
thank you..was really helpful
@larryshamala8929
@larryshamala8929 2 жыл бұрын
hi thanks for your great work. i tried at once and it worked but then i dont know what happened. when i load the connect.php file on the browser it echos the html content. what is happenning?
@reynpimentel6819
@reynpimentel6819 9 жыл бұрын
i have a problem in starting the MySQL and i dont know wht to do
@unorthodoxjourney
@unorthodoxjourney 10 жыл бұрын
ken thanks for the video but i am getting access denied error and the message i have printed
@theossettoracle
@theossettoracle 10 жыл бұрын
Thanks for that, very helpful!
@meet2football
@meet2football 7 жыл бұрын
helpful for me....thanks dude..
@amrityamsrivastava7598
@amrityamsrivastava7598 7 жыл бұрын
nicely explained. thanks ..
@BarkhaLomor
@BarkhaLomor 8 жыл бұрын
very helpful. simple and great!
@aghartaatlantean4517
@aghartaatlantean4517 5 жыл бұрын
how can i create database on my computer only when i don't have phpmyadmin account set up already?
@vyuutuube
@vyuutuube 9 жыл бұрын
it does not kick me to phpmyadmin HTTP Error 404. The requested resource is not found. what can i do?
@abdulrashid7148
@abdulrashid7148 9 жыл бұрын
Awesome work !!!
@sltiktok6952
@sltiktok6952 3 жыл бұрын
Still worthy 🙏❤️
@coolkid5146
@coolkid5146 7 жыл бұрын
Thank you so much. My code actually works. You earned a sub and a like.
@narsicreation7977
@narsicreation7977 9 жыл бұрын
I got this 'Parse error: syntax error, unexpected 'new' (T_NEW) in C:\xampp\htdocs', solution please ?
@ravichandra1830
@ravichandra1830 5 жыл бұрын
thank u for your help this video helped me a lot
@kalytheo
@kalytheo 4 жыл бұрын
Great work! Thank you!
@ccc6495
@ccc6495 6 жыл бұрын
Thank you so much, echo"Great work!!!"
@doc-holiday
@doc-holiday 8 жыл бұрын
I installed the xamp program on my own pc using Windows 10 and all seems fine and up and running but when i connect the mysql and follow your instruction its seems i am getting an error. I am not sure as to what is wrong here but something is telling me the directory folder for this script is incorrect. If i write basic php script all goes to plan using xamp but soemthing is telling me that the url of the data base is incorrect Any ideas?
@coolsmarty5137
@coolsmarty5137 8 жыл бұрын
I am unable to connect my database. it gives me error your php server doesn't have mysql module loaded or you cant use the mysql_(p) connect fuctions..can u suggest why?
10 жыл бұрын
I started with these: define('DB_NAME', 'test'); /** Username MySQL */ define('DB_USER', 'root'); /** Password to the database MySQL */ define('DB_PASSWORD', ''); /** The server name MySQL */ define('DB_HOST', 'localhost'); And I get this messange: Could not establish database connection. Please check the username, password and hostname in the config file, and if necessary set up the appropriate MySQL user and privileges. Any idea?
@AdamMcquiff
@AdamMcquiff 9 жыл бұрын
Great tutorial.
@certifiedprogrammer4598
@certifiedprogrammer4598 6 жыл бұрын
iam using vmware so that i used port 8080 in mysql so localhost:8080/myweb/conn.php is not working how i can get-rid of this problem Ken Swartwout plz?
Install XAMPP to a Flash Drive/ Troubleshoot an XAMPP Installation
15:09
PHP how to connect to MySQL database
8:50
Bro Code
Рет қаралды 38 М.
Which team will win? Team Joy or Team Gumball?! 🤔
00:29
BigSchool
Рет қаралды 15 МЛН
这是自救的好办法 #路飞#海贼王
00:43
路飞与唐舞桐
Рет қаралды 127 МЛН
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 37 МЛН
How to connect HTML form to MySQL Database with PHP.
26:30
Step by Step
Рет қаралды 116 М.
How to create database in XAMPP MySQL/ MariaDB (2020)
10:03
Amit Thinks
Рет қаралды 176 М.
Save HTML Form Data to a MySQL Database using PHP
24:38
Dave Hollingworth
Рет қаралды 210 М.
MySQL Tutorial for Beginners | How to create database and add table in XAMPP using MYSQL
10:32
Electrical & Computer Engineering Project
Рет қаралды 582 М.
Connect Your HTML Form to MySQL with PHP: Step-by-Step Tutorial
4:16
Code And Course
Рет қаралды 859 М.
Which team will win? Team Joy or Team Gumball?! 🤔
00:29
BigSchool
Рет қаралды 15 МЛН