commit de modificación de la clase conexion
This commit is contained in:
parent
be8ece40d6
commit
b6dbffcd2f
|
@ -7,8 +7,8 @@ import java.sql.SQLException;
|
||||||
public class Conexion {
|
public class Conexion {
|
||||||
private static String url = "jdbc:mysql://127.0.0.1:3306/?user=pastel";
|
private static String url = "jdbc:mysql://127.0.0.1:3306/?user=pastel";
|
||||||
private static String driverName = "com.mysql.cj.jdbc.Driver";
|
private static String driverName = "com.mysql.cj.jdbc.Driver";
|
||||||
private static String username = "pastel";
|
private static String username = "dbpastel";
|
||||||
private static String password = "pastel";
|
private static String password = "dbpastel";
|
||||||
// variable de conexion
|
// variable de conexion
|
||||||
private static Connection connection = null;
|
private static Connection connection = null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue