import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class Main {
static final String JDBC_DRIVER = "com.mysql.jdbc.Driver";
static final String DB_URL = "jdbc:mysql://localhost/logiccompany";
public static void main(String[] args) {
try {
Class.forName(JDBC_DRIVER);
} catch (ClassNotFoundException e) {
e.printStackTrace();
}
try {
Connection conn = DriverManager.getConnection(DB_URL,"root","1997");
} catch (SQLException e) {
e.printStackTrace();
}
}
}
выдает ошибку:
Wed Nov 08 23:04:37 EET 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Версия MySQL 5.7.17.
MySQL - connector 5.1.44 -bin.jar
Оборудование для ресторана: новинки профессиональной кухонной техники
Частный дом престарелых в Киеве: комфорт, забота и профессиональный уход
Доброго времени сутокВ консоль данный код выводит: "slipstream slip stream", а не "slipstream slipstream stream" как я предполагал
на данный момент поиск работает отдельно по каждому полю (для каждого поля создан свой сервлет, и страница jsp для вывода данных) с помощью...
I write simple program with Fork/Join FrameworkFor first version of my program, that not working correct, I used the book "Herbert Shield