Development environment
intellij idea community I need to work with mySQL database. Because I have a community version, I had to download a plugin
DB Navigator Now I am writing code
import java.sql.*; public class Main { public static void main(String[] args) { Connection connection; try { Driver driver = FabricMySQLDriver(); } catch (SQLException se) { System.out.println("Ошибка загрузки драйвера"); } } } and the FabricMySQLDriver line FabricMySQLDriver highlighted in red. Judging by Google, this code is outdated and needs another. Help to understand or give a link to the material.
FabricMySQLDriverwithnew FabricMySQLDriver(). In general, as an option, you can try the method described in this article. - post_zeew