I tried the code for connecting jsp to mysql.
Error Code : 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.' at line 1
(0 ms taken)
That was the result when I execute the query.
What is my mistake?
Thanks!
I would like to show some appreciation to you just for ruecsing me from this type of crisis. Right after checking throughout the world wide web and seeing ideas which were not helpful, I believed my life was over. Living without the presence of answers to the issues you've solved as a result of your main article content is a crucial case, as well as ones that would have negatively damaged my entire career if I had not discovered your website. That expertise and kindness in controlling all the details was priceless. I'm not sure what I would have done if I had not encountered such a subject like this. I'm able to at this moment look ahead to my future. Thanks a lot very much for your high quality and effective guide. I will not be reluctant to propose your web blog to anyone who would need recommendations about this problem.
i have written this code using mysql and java and it is not connecting it is giving the message as u have mentioned above in program,,,,
what should i do to connect ???
if i try java application using mysql and compile using javac
it is connecting,, it is creating problem in jsp... it doesn't give me any error..
please help..
I am 1000% sure that i followed every step precisely and i can access my databases through navicat too but it is still unable to connect, username and password are correct too.
Please help me,i followed the step but i am not able to connect jsqp and database mysql.I paste mysqlconnector in lib folder of JDK but it's not working.
jspsan April 1, 2011 at 12:17 PM
hello!! the solution provided for database connectivity was woking properly, it worked when i copy mySqlConnector.jar in lib folder.
querycristine June 9, 2011 at 11:20 AM
I tried the code for connecting jsp to mysql. Error Code : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.' at line 1 (0 ms taken) That was the result when I execute the query. What is my mistake? Thanks!
CONNECT DATA BASE (MYSQL) THROUGH JSPARIZ November 17, 2011 at 1:06 PM
How can i connect data base in MysQl???
questionERNEST RUGEMA January 3, 2012 at 7:18 PM
what shall I do when Output of the program is unable to connect to specified MySQL database .please your feedback is important.
data basesathish March 9, 2012 at 1:35 AM
con't connect db in mysql for jsp
CoDLxPnnvWJriJFrancis March 22, 2012 at 12:40 AM
I would like to show some appreciation to you just for ruecsing me from this type of crisis. Right after checking throughout the world wide web and seeing ideas which were not helpful, I believed my life was over. Living without the presence of answers to the issues you've solved as a result of your main article content is a crucial case, as well as ones that would have negatively damaged my entire career if I had not discovered your website. That expertise and kindness in controlling all the details was priceless. I'm not sure what I would have done if I had not encountered such a subject like this. I'm able to at this moment look ahead to my future. Thanks a lot very much for your high quality and effective guide. I will not be reluctant to propose your web blog to anyone who would need recommendations about this problem.
connection problem in jsp using mysqlNeeraj April 25, 2012 at 10:28 AM
i have written this code using mysql and java and it is not connecting it is giving the message as u have mentioned above in program,,,, what should i do to connect ??? if i try java application using mysql and compile using javac it is connecting,, it is creating problem in jsp... it doesn't give me any error.. please help..
Not worksdularl July 22, 2012 at 10:50 PM
I am 1000% sure that i followed every step precisely and i can access my databases through navicat too but it is still unable to connect, username and password are correct too.
javaashem dijen singh August 24, 2012 at 2:11 PM
good
thanksraju September 27, 2012 at 12:39 PM
thanks a lot ..you saved my day
javaraj January 5, 2013 at 8:44 PM
how to develop knowledge in java and how to become a good programmer.give your suggestions
jsp+Mysqlbarack hussein May 15, 2013 at 4:04 PM
Please help me,i followed the step but i am not able to connect jsqp and database mysql.I paste mysqlconnector in lib folder of JDK but it's not working.
Post your Comment