Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mysql on web server ? ?

kablan jean
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank to you all... I have mysql working extraordinally on my tomcat. Now I am trying to attack the big one. deploying the code on a web server.
I have a blanc page display when I am trying to request the database with a servlet. I think that the errors is in the URL
here is how I made the connection.
private String URL = "jdbc:mysql://";
Class.forName( "" ).newInstance();
connection = DriverManager.getConnection( URL, "xxx", "xxx");
statement = connection.createStatement ();
can anyone tell me if there is anything wrong with my URL. ( is my web page address and common is my database)
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic