Merge remote-tracking branch 'origin/main'

This commit is contained in:
David 2024-03-19 18:58:21 -06:00
commit 11afd1c804
2 changed files with 3 additions and 3 deletions

View File

@ -3,9 +3,9 @@ import java.sql.DriverManager;
import java.sql.SQLException; import java.sql.SQLException;
public class ConexionBD { public class ConexionBD {
private static final String URL = "jdbc:mysql://db4free.net:3306/basecursos"; private static final String URL = "jdbc:mysql://monorail.proxy.rlwy.net:56243/railway";
private static final String USERNAME = "edgarivanjc"; private static final String USERNAME = "root";
private static final String PASSWORD = "edgarivanJC12"; private static final String PASSWORD = "cGSzqwYoGdqChjMkGlKgdPYZXzzaujKT";
public static Connection getConnection() throws SQLException { public static Connection getConnection() throws SQLException {
return DriverManager.getConnection(URL, USERNAME, PASSWORD); return DriverManager.getConnection(URL, USERNAME, PASSWORD);