Skip to content

Commit ccb411a

Browse files
committed
pwd removed 📈:
1 parent d3c50fa commit ccb411a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

java-7th/ConnectDb.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public static void main(String [] args){
66
// register the Driver Class
77
Class.forName("com.mysql.cj.jdbc.Driver");
88
//connect to the database
9-
Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/hackathon", "root", "len0v0@33214");
9+
Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/hackathon", "root", "");
1010

1111
// create Statement
1212
Statement st = con.createStatement();

java-7th/StudentDb.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public static void main(String [] args){
1111

1212
// Connect to the Database
1313

14-
Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/ncit", "root", "len0v0@33214");
14+
Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/ncit", "root", "");
1515

1616
// create Statement
1717

0 commit comments

Comments
 (0)