Added: 1 year ago
From: mrityunjoy99
Views: 19,092
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (30)

Sign In or Sign Up now to post a comment!
  • Many thanks mate! Mighty helpful...

  • 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/te­st, 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 (I added some spaces between the URL's I used otherwise I couldn't post the comment -facepalm -facedesk

  • Man, I hope you make more videos. You're awesome!

  • @TheAmazingJelly thanks for your support.

  • you are welcome

  • Thanks dude, I forgot to add port at 4:20

    Adding the port solved my problems :)

  • where Should I put the JDBC driver in the eclips??

    I download it.. Then What?

  • @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 Thanks.. it worked fine. wish all best bro.

  • @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 thank you very much.. I appreciate your comment. It worked fine with me.

  • I can't tell you how much i love u

  • Wow, you got a shitload of URL checkers :P

  • Thanks, this area of Java really frustrates me, I can never find good examples or tutorials

  • how do I know my class.forname?

  • @EPHRAIMDify dude its same for every 1 who r using MYSQL driveri.e (com.mysql.jdbc.Driver)

  • @prashen001 I also figured that out. what I forgot to do is add the .jar file to the library in Netbeans. Thanks.

  • are you from india? :D

  • WOW 18degrees? Fahrenheit or Celsius?

  • you couldve just did--- import java.sql.*;

  • Excellent.......

  • @hellsing357 Thanks :)

  • Thanks Mrityunjoy! its a nice post.hy i want to know how many ways are there to connect database.

  • @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.

  • Great ACCENT !!!

  • @arvesh9 thanks :)

  • Good vid!

  • @khunii thank you :)

  • nice instructive video

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more