JAVA - How To Create Login And Register Form With MySQL Database In Java NetBeans

Sdílet
Vložit
  • čas přidán 6. 07. 2023
  • java login and register form with MySQL database - XAMPP
    how to create login system in java NetBeans
    Java Make Sign In And Signup Form With MySQL Database
    Java GUI Tutorial
    MySQL Database
    Java login system
    Using NetBeans IDE
    using jframe Swing
    Design Part: JAVA - How To Design Login And Register Form In Java NetBeans
    • JAVA - How To Design L...
    Source Code
    github.com/codingWithElias/Lo...
    How to Install NetBeans IDE And Java JDK on Windows 10 - GUI Project
    • How to Install NetBean...
    mysql-connector-java
    dbschema.com/jdbc-driver/MySq...
    XAMPP
    • How to Install XAMPP S...

Komentáře • 34

  • @TiKea-sz2fm
    @TiKea-sz2fm Před 6 měsíci +6

    Thanks a lot, you saved me from my assignments:)

  • @patson.
    @patson. Před 4 měsíci +4

    May God keep blessing all developers who share the source code! You guys are lifesavers! Thank you Elias bro.

  • @andre89044
    @andre89044 Před rokem +3

    You give the best tutorials

  • @asadullahkhan264
    @asadullahkhan264 Před 2 měsíci +1

    🔥🔥🔥

  • @AndreDV07
    @AndreDV07 Před 9 měsíci +1

    can you like make it so it accept a specific username and password like username is admin and password is 123456 and Login must only accepts 3 attempts and a pop-up message will display to verify the information. If click Yes, it will display the information from the other form called Display Form. (I'm trying to do this task I got in my computer class and idk how, also we're using netbeans too)

  • @muhammadzidan3957
    @muhammadzidan3957 Před 2 měsíci +1

    I'm sorry if my question sounds dumb and the same. I'm a beginner at using Netbeans. Does it use CRUD, MVC, and mysql? Cause I wanna try using this tutorial for my project.

  • @janwenytube8773
    @janwenytube8773 Před 2 měsíci

    How about retrieving name of user bro, i followed your code and its working but if i were click a button and it go to new jframe form then if i exit it back to the jframe form that name is display , it dissappear.

  • @EyBossPusi
    @EyBossPusi Před 2 měsíci

    Thank you for this, I can't any tutorial where and how you can connect your java to mysql database!
    BTW. im using eclipse, where did you get the template base design

  • @fongwademanka1804
    @fongwademanka1804 Před měsícem

    thank you Mr. Elias for this piece, I have a worry. I see this error message when I run the code. is it possible to use the code with the version I am using. I really dont want to dowload an older version. please what can I do for it to work?
    Error: LinkageError occurred while loading main class loginandsignup.LoginAndSignUp
    java.lang.UnsupportedClassVersionError: loginandsignup/LoginAndSignUp has been compiled by a more recent version of the Java Runtime (class file version 63.0), this version of the Java Runtime only recognizes class file versions up to 60.0.

  • @dom880
    @dom880 Před 7 měsíci

    can i ask where you got the com.mysql.cj.jdbc.Driver in SignUp class? I'm trying to do it I cant use it. Can you help me?

    • @CodingwithElias
      @CodingwithElias  Před 7 měsíci

      mysql-connector-java:
      The Link is under the description

  • @sabarmartuatamba1660
    @sabarmartuatamba1660 Před 8 měsíci

    DOES THIS USE JAVA FX??

  • @danica2540
    @danica2540 Před 2 měsíci

    Hi bro plss help to connect log in to sql

  • @kingmoises2033
    @kingmoises2033 Před 4 měsíci

    bro this video is really helpful but can i ask how to code if i want to insert something like Confirm Password in Sign up java

  • @mahdi7075
    @mahdi7075 Před 7 měsíci

    it keeps saying "Error!Communications link failure
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server" whenever i run

    • @CS_GOD64
      @CS_GOD64 Před 5 měsíci

      I had the same issue.
      You need to connect your database.
      At the left side of your netbeans you will see 3 windows:
      Projects|Files|Services
      1. Click on services
      2. Right click on Databases then choose new connection.
      *A pop-up window will open*
      3. Choose MySQL (connector/J driver) then click next
      *It will bring you to a window called: Customization Connection*
      4. Change the Database to: java_users_database
      Then you test the connection.
      If it says connection succeeded then press next.
      Then press next again then finish.
      Now, go to your signupbtn code en search for
      SUrl = "jdbc:MySQL://localhost:3306/java_user_database";
      It should be:
      SUrl = "jdbc:MySQL://localhost:3306/java_users_database";
      He mad a typo and put user instead of users.

  • @user-ub7wz9jk3u
    @user-ub7wz9jk3u Před 4 měsíci

    Hi bro. Can you please help me. I used your codes but it said “unknown database (mydatabase name)”.

  • @afrikana_tech
    @afrikana_tech Před 2 měsíci

    thanks for the video

  • @kukkeii9768
    @kukkeii9768 Před 3 měsíci

    do you have one for a forgot password?

  • @SmitoGamer
    @SmitoGamer Před rokem

    el enlace de github no sirve... me sale esto: This is not the web page you are looking for. 😢

    • @CodingwithElias
      @CodingwithElias  Před rokem +3

      Disculpe las molestias, he solucionado el problema. Gracias por tu comentario

  • @janvi_gowda
    @janvi_gowda Před 4 měsíci

    hey this was very much helpful video for my mini project , can u help me find wht i have to do for this error -> " Error!com.mysql.cj.jdbc.Driver " this is getting displayed in the output/terminal , when i try running the sign up page , im not getting the pop up message as well. kindly help if there is any way out.

    • @CodingwithElias
      @CodingwithElias  Před 4 měsíci

      Download the driver the Link is under the description

    • @fernandobaptista8468
      @fernandobaptista8468 Před 4 měsíci

      Having the same error. Already downloaded the driver and add in libraries

    • @fernandobaptista8468
      @fernandobaptista8468 Před 4 měsíci

      Well it seems I need to add dependencies (using netbeans 21 and choosen Maven)... Or add the sql declaration in the pom.xml
      Search in youtube for "Aprenda Como Conectar JAVA com BANCO DE DADOS usando JDBC" for in deep explanation about JDBC connection

    • @ivantransfiguracion9506
      @ivantransfiguracion9506 Před 2 měsíci

      It is also my problem, i already downloaded the driver, put it in my libraries, butI think, the com.mysql.cj.jdbc.Driver is not related to that

  • @ReynelTuardon
    @ReynelTuardon Před 4 měsíci

    Class.forName(className:"com.mysql.cj.jdbc.Driver"); please help me, why i still get an error, i already add in my libraries the connector