When I write this in, isnt it available for everyone to see? and like... that shouldn't happen right. If they just view source they can see all that info for mySQL database :P
@RiverCityGraphix awesome thanks. So using javascript for any sort of form validation is a bad idea :P true? but php is safe, and thats why everyone uses it. ish. I've been reading about some exploits with the include() method .
Can someone help ? I did this ive got the mysql file inside the folder and everything, i have checked many times, and the $db_name is correct as the actual sql db, but it still says "no database" ? and if i change the $db_host/username/pass it comes out with "Could not connect to mysql..." which means that it's working at that part ?
I followed all the instructions right up until the end. When I finally typed in localhost/mysql_connect I got an access forbidden page, and now even when I try to access localhost, I get an access forbidden page. It was working fine before I followed all of the instructions. Can anyone help?
on 4:29 when i put @mqsql_select_db it doesn't turn blue and when i test it it says "Parse error: syntax error, unexpected ')' in C:\xampp\htdocs\mysql_connect.php on line 8" please help!
I have a problem, the connection with username "root" and pass that I've set doesn't work, it only work if i put the pass to be empty. Also when the connection happens the database is not found. Any ideas?
maybe I'm just dumb, but you create the database, then you kinda show how to connect to it, but you dont give a solid example of being able to go to a website and type in login information and have it create a file in your database that you can view from admin status.
great video man. just one thing that was bothering me, isn't it easier just to string it? $dbc = mysqli_connet('localhost', 'root', 'text123', 'database') or die('Error connecting to MySQL server.');
I am using a Sony Vaio SR with vista business OS. I have been having lots of trouble installing various software, xamp does not install ... using Wampserver.
Thank you for all your help greatly appreciated!!!
1. I can’t connect to mssql. something to do with the configuration
2. No pword was set in mssql during setup, I just left it blank in cmd and pressed enter.
3. Phpmyadmin gives the following messages at the bottom of the page
a. The additional features for working with linked tables have been deactivated
b. Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account ... fix this security hole by setting a password for user 'root
fantastic tutorial. I was just doing another series on php and web programming. The time came to do databases and the person making the video said the words.. "Now go to your webhosting account where we will make our database." I just about choked on my breakfast! thanks so much. much easier/cheaper this way.
Hi good tutorial, But ??? Parse error: syntax error, unexpected '=' in C:\xampp\htdocs\mysql_connect.php on line 3 <?php Sdb_host = "localhost"; Sdb_usrname ="root"; Sdb_pass = "XXXXXXXXXXXX"; Sdb_name = "test_database"; @mysql_connect("Sdb_host","Sdb_usrname","Sdb_pass") or die ("could not connect to MySql"); @mysql_select_db("Sdb_name") or die ("No database"); echo"Succsessful Connection";
I have watched three of these and one thing that might help - number the videos so people can start with XAMP, create database, and then connect. Just an idea. Great video.
i did exactly like you showed, but i coudnt connect to mysql..can you help me?
PurpleEanLurver 4 weeks ago in playlist PHP MySQL Tutorials -HD-
never mind i got it working, i needed to put a mysql dll file in c:\windows and then the success displayed, many thanks for the video
lionhart3001 1 month ago
Comment removed
lionhart3001 1 month ago
Why do you use the @ sign? I wasn´t able to find it in the PHP documentation.
walter50two 2 months ago
When I write this in, isnt it available for everyone to see? and like... that shouldn't happen right. If they just view source they can see all that info for mySQL database :P
bitmp44 2 months ago
@bitmp44 Nope. PHP and MySQL are hidden from the view source.
RiverCityGraphix 2 months ago
@RiverCityGraphix awesome thanks. So using javascript for any sort of form validation is a bad idea :P true? but php is safe, and thats why everyone uses it. ish. I've been reading about some exploits with the include() method .
bitmp44 2 months ago
Can someone help ? I did this ive got the mysql file inside the folder and everything, i have checked many times, and the $db_name is correct as the actual sql db, but it still says "no database" ? and if i change the $db_host/username/pass it comes out with "Could not connect to mysql..." which means that it's working at that part ?
Josh7harington 2 months ago in playlist More videos from RiverCityGraphix
I followed all the instructions right up until the end. When I finally typed in localhost/mysql_connect I got an access forbidden page, and now even when I try to access localhost, I get an access forbidden page. It was working fine before I followed all of the instructions. Can anyone help?
TwistingFiction 2 months ago
once again, great!
jpuma13 2 months ago
Also be sure to close connection with mysql_close();
JurgisTamulis 3 months ago
i get this error "Parse error: syntax error, unexpected '@' in C:\xampp\htdocs\mysql_connect.php on line 10" plzz help mee
Shekkil1 3 months ago
thanks sir
shindedeepakm 3 months ago
10 thumbs up. Great.
dekipet 3 months ago
I dont know why a create a php file with notepad and type all that stuff inside and nothing shows on the web page.
pabloelpopstar 3 months ago
easy tutorial to follow. Thanks alot for it. 2 Thumps up.
kaysan83 3 months ago
on 4:29 when i put @mqsql_select_db it doesn't turn blue and when i test it it says "Parse error: syntax error, unexpected ')' in C:\xampp\htdocs\mysql_connect.php on line 8" please help!
vanko1997 4 months ago
thanks, this is very helpful for beginners like me.
glockenspiel9971 4 months ago
Hey... i love you :D
Vb2010TUTz 5 months ago
this one is good!! thanks.
SebastiaanBol 5 months ago
great info !!! awesome,fast and tight.!!+++
removeimmo 6 months ago
thx dude
m0iRAWR 7 months ago
Same, can't connect to DB, I have connected, but cant select DB
0Alikan0 7 months ago
i keep getting "Cannot connect to db!" pls help!
jalautb 7 months ago
thanks. I think this'll help alot since I forget and my brain scrambles when the teacher says anything
TheLegend1245 7 months ago
I have a problem, the connection with username "root" and pass that I've set doesn't work, it only work if i put the pass to be empty. Also when the connection happens the database is not found. Any ideas?
nvelickovic10 7 months ago
@nvelickovic10 i solved the problem with password, but still I can't select DB...
nvelickovic10 7 months ago
Good tutorial
simpleme10100 7 months ago
Thanks DUDE, it helped me alot :-)
masoodkai 7 months ago
i have done this tutorial. but when i run this it shows "could not connect to mysql".. plz help me
12kittykitty1 7 months ago
For The Echo or *or die* does the colour become green or blue?
RealityFuzion 8 months ago
Ive done that but when i typed in Localhost it said that could not connect to mySQL help?
RealityFuzion 8 months ago
Yeh um the bit by when u say $db_host " ;
RealityFuzion 8 months ago
Are you in a hurry man or it's just too much caffeine?? =)
workfornuts 8 months ago
Yeh well ive done everything u said on Notepad and its not working and i saved it as
Mysql_connect.php
RealityFuzion 8 months ago
Could u do an tourtial on that please if u could?
RealityFuzion 8 months ago
i meant do u have to use dreamweaver?
RealityFuzion 8 months ago
@RealityFuzion Nope. You can use any html or php editor. You could even type it in NotePad and it would work.
RiverCityGraphix 8 months ago
Yeh um, my question do u have dreamweaver?
RealityFuzion 8 months ago
I got a question! Where do you save your php script? Does it need to be located in any special folder so that Firefox can find it?
ferguior 9 months ago
maybe I'm just dumb, but you create the database, then you kinda show how to connect to it, but you dont give a solid example of being able to go to a website and type in login information and have it create a file in your database that you can view from admin status.
ChristofTheDestroyer 9 months ago
nice one =)
WorldWiredWeb 9 months ago
This has been flagged as spam show
hey sweet video! you should check this video out /watch?v=9mokamd5k5g
TabethNiemi 10 months ago
make $8+ a day in less then a month NO SKILLS /watch?v=BMPhsRN19Ms
BritniPerot 10 months ago
how come that when i try it takes too long to connect to mysql??
akocannie 10 months ago
This has been flagged as spam show
wow i just found out how to hack someones facebook steampoweref (dot) com
WarnerMisek 10 months ago
@RiverCityGraphix
correction
$td_username = "root";
$td_pass = "";
in place of
$td_username = "root";
$td_pass = "test123";
in XAMPP
harshalpuri 10 months ago 2
Comment removed
harshalpuri 10 months ago
*connect
irishfaithful1 10 months ago
great video man. just one thing that was bothering me, isn't it easier just to string it? $dbc = mysqli_connet('localhost', 'root', 'text123', 'database') or die('Error connecting to MySQL server.');
irishfaithful1 10 months ago
great job....! bt i wd like to see more from u
abhishekrai48 10 months ago
this is the best tutorial.......
thank you very much
manzooroct5 11 months ago
thanks :)
xnekromantikx 11 months ago
somehow i wont say successful cuz i cant connect to the database
wms123123 11 months ago
i got a error code scripts on number 8
wms123123 11 months ago
very good tutorial..better than my professors!
SingAdagioPrincess 11 months ago
Thanks I have been looking around for how I could test this code to see if it was working, excellent.
Whisperingonthewind 11 months ago
Awesome
SmartestViking 1 year ago
You are good at teaching stuff. Thanks. Very good tutorials.
Jazukka 1 year ago
thanks for the tutorial...it was very good! :)
sushant079 1 year ago
How do I set a password
How do I fix the relational table error
I am using a Sony Vaio SR with vista business OS. I have been having lots of trouble installing various software, xamp does not install ... using Wampserver.
Thank you for all your help greatly appreciated!!!
TheBusala7 1 year ago
1. I can’t connect to mssql. something to do with the configuration
2. No pword was set in mssql during setup, I just left it blank in cmd and pressed enter.
3. Phpmyadmin gives the following messages at the bottom of the page
a. The additional features for working with linked tables have been deactivated
b. Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account ... fix this security hole by setting a password for user 'root
TheBusala7 1 year ago
I just get a blank screen in localhost/mysql_php :(
No syntax errors but Dreamweaver is asking me to setup site definition.
Do I need to do this?
XAMPP and phpmyadmin is working fine. Database is setup along with table.
Not sure what to do.
phillmadz 1 year ago
fantastic tutorial. I was just doing another series on php and web programming. The time came to do databases and the person making the video said the words.. "Now go to your webhosting account where we will make our database." I just about choked on my breakfast! thanks so much. much easier/cheaper this way.
garrymack 1 year ago
how can you do this using an input form?
happygameshow 1 year ago
This has been flagged as spam show
Hi good tutorial, But ??? Parse error: syntax error, unexpected '=' in C:\xampp\htdocs\mysql_connect. php on line 3 <?php Sdb_host = "localhost";
line 3
Sdb_host = "localhost";
kartwag 1 year ago
kartwag 1 year ago
see here bsitportal.webs.com
i'm having a problem with this...
can you solve it??
GAiXzHeLL 1 year ago
Comment removed
GAiXzHeLL 1 year ago
Comment removed
GAiXzHeLL 1 year ago
Excellent. Thank you from a newbie
pchaff 1 year ago
Comment removed
waheed101 1 year ago
it is a good tut
faressoft 1 year ago
great tutorial thanks (like)
ManWithaPlan1996 1 year ago
Thanks
ejl123123 1 year ago
Really helpfull..thx
salimalim 1 year ago
I have watched three of these and one thing that might help - number the videos so people can start with XAMP, create database, and then connect. Just an idea. Great video.
7jerryv7 1 year ago
very helpful i realy like your vids thnx alot 4 helping ... waiting for more ....
palembassy 1 year ago