.. but I have a question. I want to connect to an external database on my website, whats the URL I need to use where you used jdbc:mysql://localhost:3307/test, I tried those three things but I think they doesn't work. htt p: // example . com:3307 example . com :3307 and jbdc:mysql:// example . com. What do I need to use?
@russel07crowe You should create a new folder called "lib" in your Project and then add that .jar there, also add it to your CLASSPATH (search "classpath") in Window -> Preferences.
Also I am not pro at this, but after some hours of searching internet I somehow managed to get it work.
@smruti88 If you talk about Java then JDBC is the standard API to connect to different databases. Database vendors provide JDBC drivers for their databases. You have to choose a target database the suitable JDBC driver for it.
In other programming languages the concept is mostly same.
Many thanks mate! Mighty helpful...
alindamondal007 1 week ago
Hi, Great tutorial!
.. but I have a question. I want to connect to an external database on my website, whats the URL I need to use where you used jdbc:mysql://localhost:3307/test, I tried those three things but I think they doesn't work. htt p: // example . com:3307 example . com :3307 and jbdc:mysql:// example . com. What do I need to use?
timvisee 3 weeks ago
@timvisee (I added some spaces between the URL's I used otherwise I couldn't post the comment -facepalm -facedesk
timvisee 3 weeks ago
Man, I hope you make more videos. You're awesome!
TheAmazingJelly 1 month ago
@TheAmazingJelly thanks for your support.
mrityunjoy99 1 month ago
you are welcome
MegaOuja 2 months ago
Thanks dude, I forgot to add port at 4:20
Adding the port solved my problems :)
InStars 2 months ago
where Should I put the JDBC driver in the eclips??
I download it.. Then What?
russel07crowe 2 months ago
@russel07crowe hey russel....So y open your project libraries-->jre System library(jre(X=6 or7..))-->touch your right button
and select BUILD PATH-->configure build path-->add external jars.....that s all
MegaOuja 2 months ago
@MegaOuja Thanks.. it worked fine. wish all best bro.
russel07crowe 2 months ago
@russel07crowe You should create a new folder called "lib" in your Project and then add that .jar there, also add it to your CLASSPATH (search "classpath") in Window -> Preferences.
Also I am not pro at this, but after some hours of searching internet I somehow managed to get it work.
InStars 2 months ago
@InStars thank you very much.. I appreciate your comment. It worked fine with me.
russel07crowe 2 months ago
I can't tell you how much i love u
MarkusGamers 3 months ago
Wow, you got a shitload of URL checkers :P
MrVijfhoek 5 months ago
Thanks, this area of Java really frustrates me, I can never find good examples or tutorials
smithy2306 5 months ago
how do I know my class.forname?
EPHRAIMDify 5 months ago 2
@EPHRAIMDify dude its same for every 1 who r using MYSQL driveri.e (com.mysql.jdbc.Driver)
prashen001 5 months ago
@prashen001 I also figured that out. what I forgot to do is add the .jar file to the library in Netbeans. Thanks.
EPHRAIMDify 5 months ago
are you from india? :D
styler564 6 months ago
WOW 18degrees? Fahrenheit or Celsius?
Ninjason1337 6 months ago
you couldve just did--- import java.sql.*;
36redsoxfan 6 months ago
Excellent.......
hellsing357 8 months ago
@hellsing357 Thanks :)
mrityunjoy99 8 months ago
Thanks Mrityunjoy! its a nice post.hy i want to know how many ways are there to connect database.
smruti88 9 months ago
@smruti88 If you talk about Java then JDBC is the standard API to connect to different databases. Database vendors provide JDBC drivers for their databases. You have to choose a target database the suitable JDBC driver for it.
In other programming languages the concept is mostly same.
mrityunjoy99 8 months ago
Great ACCENT !!!
arvesh9 10 months ago
@arvesh9 thanks :)
mrityunjoy99 10 months ago
Good vid!
khunii 10 months ago
@khunii thank you :)
mrityunjoy99 10 months ago
nice instructive video
alertjms 1 year ago