-2
How to connect an application via url to the Mysql database (Myslq-inApp) within Azure ?
String urlLOCAL = "jdbc:mysql://localhost:3306/crudjsp";
String urlAzure = "jdbc:";
Class.forName("com.mysql.jdbc.Driver");
Connection conn = DriverManager.getConnection(urlLOCAL,"root","");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("SELECT * FROM usuarios");