base de datos
This commit is contained in:
parent
12b85df405
commit
123ba1a5ca
|
@ -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);
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue