From 714e1b9156a383581be324ae0792e6e0767a7106 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 11 Apr 2018 19:05:00 +0200 Subject: [PATCH] exo9: fixlets to the MySQL connection. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- ROOT/exo9/connectJspMysql.jsp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ROOT/exo9/connectJspMysql.jsp b/ROOT/exo9/connectJspMysql.jsp index 8d0f082..5428f7a 100644 --- a/ROOT/exo9/connectJspMysql.jsp +++ b/ROOT/exo9/connectJspMysql.jsp @@ -2,10 +2,10 @@ <% try { - String connectionURL = "jdbc:mysql://localhost/bdVols"; + String connectionURL = "jdbc:mysql://localhost/MyBd"; Connection connection = null; Class.forName("com.mysql.jdbc.Driver").newInstance(); - connection = DriverManager.getConnection(connectionURL, "fraggle", "$Love79!"); + connection = DriverManager.getConnection(connectionURL, "MyBd", "MyBd"); if(!connection.isClosed()) out.println("Successfully connected to " + connectionURL + " MySQL server using TCP/IP"); connection.close(); -- 2.34.1