Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

conexion a mysql java

String Url="jdbc:mysql://" + /* IP o Dominio de la base de datos*/ +"/" + /*La base de datos*/;
//Importante encapsular la conexión en un 'try', puede dar errores.
try {
	BD_Conexion = DriverManager.getConnection(Url, /* Usuario */, /* Contraseña */);
}catch(SQLException SQLError){
  //Asegurate de que no da errores la conexion.
}
Comment

PREVIOUS NEXT
Code Example
Java :: HOW TO CODE WORKING PLUGIN IN MINECRAFT 
Java :: date.settime java 
Java :: android studio setbackgroundcolor drawable 
Java :: cellrangeaddress in set border example in java 
Java :: charstreams cannot be resolved 
Java :: javax.servlet.ServletException: javax.servlet.jsp.JspException: Missing message for key 
Java :: The root directory of the External Storage on every android version 
Java :: localdatetimw java input 
Java :: FirebaseCrashlyticsPlugin.java uses or overrides a deprecated API. 
Java :: settextappearance deprecated android 
Java :: java remove numbers from set 
Java :: how to avoid outside click of alerdialoge android 
Java :: java.lang.IllegalStateException: Not scheduled yet 
Java :: how to copy a linked list to another in java 
Java :: implement hashmap 
Java :: java clump list 
Java :: turn on device location android programmatically 
Java :: lmethod java 
Java :: Meditation for stress and depression 
Java :: Arraylist imp for recursion 
Java :: list to vector java 
Java :: Write a java program to merge three singly linked list elements 
Java :: bf5 cheat detector 
Java :: java supress unchecked 
Java :: java kommazahl abschneiden 
Java :: como detener un void java 
Java :: jsonStringToMap 
Java :: how to convert a jsonobject to a dbobject 
Java :: detecting battery charging android 
Java :: java radom float 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =