Hello My Brothers and Sisters. My humble request to you, *Please* *Don't* *Forget* *To* *Subscribe* If you have any problem, Comment down. I will provide you solution as soon as possible.
@amandapanda37503 жыл бұрын
Didn't do the exact same thing you did but I followed the basis of the video and it helped a lot!! You're a Life Saver! Thanks for the great content
@RiyaRaniEARCS4 жыл бұрын
Thanku so much ur video helped me alot i am trying many times to install but today ur video helped me
@gulan20087 жыл бұрын
Dear Indra, Thank you very much. I solved my problems from your video instructions. Regards, Hamidi
@tianfattloke90666 жыл бұрын
Hi Indra. I am using Windows Authentication and put the JAR files into the libraries already, also putting the sqljdbc_auth.dll file into my System32 as i read the comments. But i still couldn't execute my program, with the error shown below. Error Pop-up Message: com.microsoft.sqlserver.jdbc.SQLServerException: This driver is not configured for integrated authentication. ClientConnectionID:.......... Error shown in netbeans: Mar 25, 2018 11:12:48 PM com.microsoft.sqlserver.jdbc.AuthenticationJNI WARNING: Failed to load the sqljdbc_auth.dll cause : no sqljdbc_auth in java.library.path May i know how can i solve this?
@indrasubedi6 жыл бұрын
kzbin.info/www/bejne/e5ezdmBjnbydfbs Watch this video from 1:56 If you get/donot get solution reply me
@tianfattloke90666 жыл бұрын
I have did everything according the video u have provided. But still same error i got
@indrasubedi6 жыл бұрын
i will search on it. and let you know if i found the solution My request if possible try using sql server authentication.
@tianfattloke90666 жыл бұрын
Thank you. I have also tried to establish a server authentication by following the steps below. msdn.microsoft.com/en-us/library/aa337562(v=sql.105).aspx But then when i want to login using Server authentication, i was informed that i had established the connection but there is an error occured somehow. TITLE: Connect to Server ------------------------------ Cannot connect to LAPTOP-11F0IBL5. ------------------------------ ADDITIONAL INFORMATION: A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233)
@tianfattloke90666 жыл бұрын
Hi Indra. I have solved my problem. The link below shows the solution for Windows Authentication who might have the same problem as I do. Please refer to the first answer provided by Amine Soumiaa. stackoverflow.com/questions/11707056/no-sqljdbc-auth-in-java-library-path Hope this may help u too, Indra :D
@unycassama97287 жыл бұрын
thank you indra, i am using windows authentication, its giving an error. what should i do ? i have problem with: Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver.class");
@mrbotgaming66663 жыл бұрын
really helpful sir 🙏🙏
@indrasubedi3 жыл бұрын
Thanks for your feedback and dont forget to subscribe
@knightrulzzz6 жыл бұрын
Dude, thanks for the help !!! Awesome and helpful Video Clip! Keep It Up bro !! ;)
@indrasubedi6 жыл бұрын
Thanks for your feedback.
@sukirtiarora35837 жыл бұрын
Thank you very much for this tutorial. Being a beginner it totally helped me.
@emerald215763 жыл бұрын
It's helped me more!!!!👍👍👍
@7-amrithaharidas8327 жыл бұрын
Thank u for this tutorial . It was really helpful
@sipporatoppo13406 жыл бұрын
Thank you for this video. It's really a very helpful.
@indrasubedi6 жыл бұрын
Thanks for your feedback
@computerbolter40796 жыл бұрын
Thanks Bro!!! It worked with sqlite manager by changing forname and url.
@aalamali67048 ай бұрын
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter this problem is shown in my terminal while login. Please suggest me a valid souliton
@TheDr.015 жыл бұрын
Amazing video bro, helped me out very quickly
@-indeed82857 жыл бұрын
good video...thanks ...keep making videos like this.
@indrasubedi7 жыл бұрын
+M A K you can find more useful videos in my channel. And dont forget to subscribe
@gmrole12093 жыл бұрын
thank you, this is really helpful to me it works.
@devopstraining7855 жыл бұрын
hi indra where i can find the source code that you pasted in signin action performed.....i downloaded the zip file from your blog but cant find it..please help!!
@KartikRathor5 жыл бұрын
Showing error in no. Of parameters of pst.setString()
@rounakghosh71775 жыл бұрын
What will happen if we create a main class
@pacharapolballz44027 жыл бұрын
From your clip I want you to teach the search. Search all data from table using "Text Field"
@pacharapolballz44027 жыл бұрын
Thank you.
@indrasubedi7 жыл бұрын
Thanks. I will upload it soon
@pacharapolballz44027 жыл бұрын
ok i wait you upload
@pacharapolballz44027 жыл бұрын
I have 4 days before sending. Thank you :)
@genesisc1357 жыл бұрын
Thanks for your video. Very helpful and simple
@isiahcharles68046 жыл бұрын
how do i solve the problem "com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'sa'. ClientConnectionID:21e0f682-39b9-4bab-9f78-b5483df3fae6" my authentication is windows authentication only, do I need to change it to SQL authentication?
@indrasubedi6 жыл бұрын
Use the below code in the connection url. change the database as per your database name. String url="jdbc:sqlserver://localhost:1433;databaseName=testdb;integratedSecurity=true";
@nuzzy_nuz6 жыл бұрын
Thank You! It was helpful and allowed me to easily create the login
@indrasubedi6 жыл бұрын
Thank you for your feedback
@Necklaceish4 жыл бұрын
thank you indra subedi
@zerodigits24134 жыл бұрын
I am facing an error can you help me fix it? here is the error.. com.microsoft.sqlserver.jdbc.SQLServerException: this driver is not configured for integrated authentication.
@munibmarwan4 жыл бұрын
hi ! i wanna ask you something .. what is the different between SQL server Database and derby Database .. and which one is better .. and the last thing is can i do it with derby database in netbeans instead of SQL SERVER ? .. thank you all .
@sunnyaahil1667 жыл бұрын
i am facing "com.microsoft.sqlserver.jdbc.SQLServerException".... how we solve?
@indrasubedi7 жыл бұрын
There are two main reason to get this error. One is you have logged in with windows authentication. If so login with sql server authentication or replace above code with String url="jdbc:sqlserver://localhost:1433;databaseName=testdb;integratedSecurity=true"; be sure to include your database name Second is you have not enabled TCP connection. check the video properly from 8:34 .
@sunnyaahil1667 жыл бұрын
my TCP connection is enabled....but i am logged in with using windows authentication
@indrasubedi7 жыл бұрын
Ok. then you the above code
@sunnyaahil1667 жыл бұрын
still error
@sunnyaahil1667 жыл бұрын
check your email... i sent you my code and error screenshot
@SweetPrince-1237 жыл бұрын
thanks indra, however i ahve import the sql jar file but still saying ..........java-lang-classnotfoundexceptioncom-mysql-jdbc-driver when i press signin..... please what can i do next to solve it
@indrasubedi7 жыл бұрын
+Prince please be sure that you have used sql jar file because the error says that you have used mysql jar file. Also the video uses sql server authentication. If you are using windows server authentication, Use the below code in the connection url. change the database as per your database name. String url="jdbc:sqlserver://localhost:1433;databaseName=testdb;integratedSecurity=true";
@franciscoleonelruizgutierr87076 жыл бұрын
Hi, i have a question, Where is the link for the jar ? i dont found in your description :(
@franciscoleonelruizgutierr87076 жыл бұрын
www.microsoft.com/en-us/download/details.aspx?id=11774 this is the jar link and choose with extension tar.gz
@shazidmorshed18895 жыл бұрын
bro..i have a question here...where did you used the password orchid in sql ??? if you could tell me then it will be very helpful :)
@sofiyamariyanova81297 жыл бұрын
Thank you so much! Amazing tutorial!! :)
@danielgorry55657 жыл бұрын
can you paste the try() code that you used in the authentication step here please
@tomiturner55237 жыл бұрын
Yes; please paste the codes used
@stepankonsel55846 жыл бұрын
hi bro, i have a problem at :com.microsoft.sqlserver.jdbc.SQLServerExeception: The method executeQuery() cannpt take arguments on a PreparedStatement or CallableStatement
@stepankonsel55846 жыл бұрын
do u know why? I have exactly the same code like u......
@indrasubedi6 жыл бұрын
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); String url="jdbc:sqlserver://localhost:1433;databaseName=testdb;user=sa;password=orchid"; Connection con = DriverManager.getConnection(url); String sql = "Select * from test where username=? and password = ?"; PreparedStatement pst = con.prepareStatement(sql); pst.setString(1, username.getText()); pst.setString(2, password.getText()); ResultSet rs = pst.executeQuery(); if(rs.next()){ JOptionPane.showMessageDialog(null, "Username and Password Matched"); Check whether your code matches this code except database name, table name, username and password
@karim-106 жыл бұрын
I wanna Link To Make Form Insert Update delate System to Java and SQL server Plz Tel me if you Can Bro Thnx
@indrasubedi6 жыл бұрын
Please watch my video playlist. You could find all the related videos there
@prasantabis3 жыл бұрын
Where I get import.java.sql.connection, I am not getting that thing.
@ahmadmaulana2355 жыл бұрын
Thank you very much for this tutorial
@racionator26684 жыл бұрын
Keeping passwords as varchar is not a great idea, but for demo purpose its ok !!!
@princephilipmabesa2137 жыл бұрын
im new to java, im having an error in Class.forName, i just actually copied all the code inside Class.forName (" "), can u help me?
@indrasubedi7 жыл бұрын
Please send me the code that you have done in indrasubedi95@gmail.com
@softus84537 жыл бұрын
hey dear i get this error and i dont why ? i just make sql authentication and give my db my pass but after i put it i received this error:com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near the keyword 'user'.
@softus84537 жыл бұрын
so how i can fix it ,i used netbeans 8.2 and sqlserver 2016
@gergoo007_6 жыл бұрын
Keep it up! This is very helpful!
@indrasubedi6 жыл бұрын
Thank you
@globalnavigator7 жыл бұрын
How to connect the Java form with Oracle Database for instance 11g?
@indrasubedi7 жыл бұрын
You need a JDBC Driver to be imported in the library of your project. This is the link for download. www.oracle.com/technetwork/database/application-development/index-099369.html Also adjust the following code as per your project. try { String dbURL = "jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=whatEverYourHostNameIs)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=yourServiceName)))"; String strUserID = "yourUserId"; String strPassword = "yourPassword"; Connection myConnection=DriverManager.getConnection(dbURL,strUserID,strPassword); Statement sqlStatement = myConnection.createStatement(); String readRecordSQL = "select * from sa_work_order where WORK_ORDER_NO = '1503090' "; ResultSet myResultSet = sqlStatement.executeQuery(readRecordSQL); while (myResultSet.next()) { System.out.println("Record values: " + myResultSet.getString("WORK_ORDER_NO")); } myResultSet.close(); myConnection.close(); } catch (Exception e) { System.out.println(e); }
@AzizjanAyupov_leo7 жыл бұрын
Thank you very much! But I wanna give you advice: speak more clearly or at last slowly :)
@indrasubedi7 жыл бұрын
+Azizjan Ayupov Thank you I appreciate your feedback. Will make changes in the upcomming videos
@XxGummib3arxX8 жыл бұрын
When I tried to use SQLServer Authentication it did not work, but When I used windows authentication it works, is there a difference?.
@indrasubedi8 жыл бұрын
Definitely there is a difference in security. If you are using your personal computer, it doesn't matter in using windows authentication.But in case you want to authenticate the users against set of users available in your application database, then in that case you will want to go for SQL Authentication.
@XxGummib3arxX8 жыл бұрын
Also for string url, what do I type im pretty sure its not the same as yours. and can i get a copy and paste for the code as well in the beginning.
@indrasubedi8 жыл бұрын
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); String url="jdbc:sqlserver://localhost:1433;databaseName=testdb;user=sa;password=orchid"; Connection con = DriverManager.getConnection(url); //This is for sql server authentication, for windows server you have to modify
@anushamathew19165 жыл бұрын
Could not find or load main class what it mean sir ? What are we supposed to do
@indrasubedi5 жыл бұрын
While creating project uncheck the create main class selection
@nancyagrawal58197 жыл бұрын
Hello Sir when I downloaded the sql connector, it is in .txt format. And when I try to add it in library it is not showing in the list. What should I do?
@indrasubedi7 жыл бұрын
+Nancy Agrawal There are different format to download. Choose zip or rar file and download
@firdausazad97594 жыл бұрын
where did user=sa and password=orchid come?
@jordansantos39937 жыл бұрын
can you reply me the code you use in button? thanks :) . its hard for me to read and type it with my poor eyevisbility :(
@ravikiran37636 жыл бұрын
bro i want some code for "current login details to show next page without using database" please rply bro as soon as possible
@LalGebi7 жыл бұрын
Great.. Please make more videos ... GOD bless you.. I have little doubt .. if you can answer.. we needed to authenticate users credential against the database credential and not the separate database where credentials are merely data of table...How one can create code for that..? pl. anybody out there to comment
@elmakaouinassima69107 жыл бұрын
when i used easyphp , i could'nt connect database
@loginid71087 жыл бұрын
Do you have the same Program / Login Page GUI with MySQL database. ?????
@indrasubedi7 жыл бұрын
+Dev S yes find it on my video list
@jacquesngouabe77466 жыл бұрын
hello Sir i saw your tuto and it is very well made but i'm one thin that i don't get i'm working with NetBeans Build-in DataBase so how can i get the Class.ForName(" ") ? help me please
@minbogati33426 жыл бұрын
Good job keep it up...
@gnaneditz7 жыл бұрын
How did you gave password as orchid
@indrasubedi7 жыл бұрын
its an authentication password for sql server management studio
@sumanmandal35697 жыл бұрын
I have my sql server management with windows authentication.so what to give as user and password? where you have used user as "sa" and password as "orchid".
@NadaALbahri956 жыл бұрын
SUMAN MANDAL I have the same question
@wasimabbaci65676 жыл бұрын
@@sumanmandal3569 SELECT CURRENT_USER; to find user
@erosexclu45787 жыл бұрын
can you attach the codes you used? thanks
@prasantabis3 жыл бұрын
Where I will import.com.sql.connection
@RaghunathTambde3 ай бұрын
Instead of setting the 1st form as false for visibility shouldn't we close it 🤔
@indrasubedi3 ай бұрын
You can.
@indrasubedi3 ай бұрын
You can.
@codingwithjava72974 жыл бұрын
Bhai drag and drop mt use kia kro please 🙏🙏 Jb kuchh sikhana h to step by step sikhe
@benedictfaustino57058 жыл бұрын
it shows java-lang-classnotfoundexceptioncom-mysql-jdbc-driver when i press signin
@indrasubedi8 жыл бұрын
+Benedict Faustino Please import sql jar file to solve this problem. You can download it from: www.microsoft.com/en-us/download/details.aspx?id=11774 If you still get the error, email me at indrasubedi95@gmail.com
@benedictfaustino57058 жыл бұрын
how to import
@indrasubedi8 жыл бұрын
Watch the video from 7:28
@WithPray5 жыл бұрын
Not working for me. Did everything like you.
@Rohan-dz4cd7 жыл бұрын
can u provide source codes along with the videos....it would be really helpful.
@dylandtoledano42617 жыл бұрын
I had an error, is this "Exception in thread "main" com.microsoft.sqlserver.jdbc.SQLServerException: Error de inicio de sesión del usuario 'sa'. ClientConnectionId:205dc5b0-4c8f-4d73-b956-867e2db10694" Do you have the solution?
@indrasubedi7 жыл бұрын
+dyland Toledano which authentication havd you used? sql server authentication or windows server?
@dylandtoledano42617 жыл бұрын
I use the Windows autentication
@indrasubedi7 жыл бұрын
Use the below code in the connection url. change the database as per your database name. String url="jdbc:sqlserver://localhost:1433;databaseName=testdb;integratedSecurity=true";
@surajnagpure44456 жыл бұрын
PLEASE GIVE ME SOURCE CODE OF THIS PROGRAM
@almasbegum39884 жыл бұрын
Can u send the code
@DavidArangosoychon6 жыл бұрын
seria de grandisima ayuda que tambien podamos copiar ese codigo el del logeo amigo
@gowthamprasath3617 жыл бұрын
it doesn't checks whether the password in caps or not
@indrasubedi7 жыл бұрын
+Anonymous For case sensitive password, you have to add alittle code
@healthsecret94166 жыл бұрын
where is code
@computerbolter40796 жыл бұрын
Bhai aapka microsoft sql server ka download link milega plz.
@indrasubedi6 жыл бұрын
You Can watch my video for the step by step download and installation at here: kzbin.info/www/bejne/fn-weIiuq7Jnfs0 Downlaod link is : www.microsoft.com/en-us/download/details.aspx?id=29062
@waqastufail61056 жыл бұрын
JAR file link please?
@indrasubedi6 жыл бұрын
Find it on the description of this video
@riyakhan64916 жыл бұрын
Please give the source code
@indrasubedi6 жыл бұрын
Please find it on javaguiapp.blogspot.com
@polojoy68245 жыл бұрын
ok thank q so much
@InduwaraJ7 жыл бұрын
great
@indrasubedi7 жыл бұрын
Thanks. Please subscribe for more videos.
@krishnachaitanya25227 жыл бұрын
how did u given the login name as "sa" and password:*********.
@indrasubedi7 жыл бұрын
+krishna chaitanya you can create multiple users in sql server.if you cofused you can find video to create user in sql
@krishnachaitanya25227 жыл бұрын
how in any of the video they are not showing how to create that login and password
@indrasubedi7 жыл бұрын
+krishna chaitanya search how to create user in sql server management studio
@krishnachaitanya25227 жыл бұрын
how to did u create the server name as HOME\SQLEXPRESS and login and password
@krishnachaitanya25227 жыл бұрын
ya ok i have got it thank u
@belkheirfatiha32266 жыл бұрын
thank you so mutch
@duaabatool36345 жыл бұрын
Thankyou so much :) bless you :)
@duvancaballeroa32976 жыл бұрын
PORQUE HABLAS EN ESE INGLES MAL HABLADO SI LA DESCRIPCION Y TITULO DEL VIDEO ES EN ESPAÑOL XD XD
@indrasubedi6 жыл бұрын
como se llama el titulo en español enviame
@duvancaballeroa32976 жыл бұрын
@@indrasubedi Formulario de inicio de sesión en Java usando Netbeans y Sql Server ??? necesito tu video en español :(
@zimmeruda6 жыл бұрын
@@duvancaballeroa3297 Habla asi porque es el acento que tienen en la India, no es que hable mal
@bycecoconut11887 жыл бұрын
I need a search code. help me ;'(
@indrasubedi7 жыл бұрын
I will upload it at night. If i provide you the code, you wont understand. So please be updated with my project. I will add in this project.