I tried like this, but didnt work:
private final String DB_URL = “jdbc:mysql://PHPMYADMINURL:8080/company?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=utf8”;
private static final String USER = "admin"; private static final String PASSWORD = "password";
How can I do this?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.