File tree Expand file tree Collapse file tree
javatodo/src/main/java/com/cledson Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55import java .sql .SQLException ;
66
77public class Conexao {
8- private static final String url = "jdbc:mysql://localhost:3306/listasdetarefas?allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=UTC" ;
9- private static final String user = "root" ;
10- private static final String password = "minhasenha123@" ;
8+ // sim eu sei que isto nao deveria estar visivel para todo mundo, mas tanto faz isto e so um proejeto simples que fiz para aprender MySQL
9+ private static final String url = "jdbc:mysql://93qc9n.h.filess.io:3307/javatodo_havingoff?allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=UTC" ;
10+ private static final String user = "javatodo_havingoff" ;
11+ private static final String password = "286278c0daf2f9603ddba279e4cf6115d6c718f5" ;
1112
1213 public static Connection connect () {
1314 try {
@@ -18,4 +19,4 @@ public static Connection connect() {
1819 return null ;
1920 }
2021 }
21- }
22+ }
You can’t perform that action at this time.
0 commit comments