Hellow people, iv just finished a course on java and want to put my skill to test. Iv made a simple code where i just want to make a managment like code. But in runing into a error when runing my code. I get a failed conect attemp to my db. Its a mariadb and im runing evrything in ubuntu 20.04.2 LTS in eclipse.
#Driver not working
1 messages · Page 1 of 1 (latest)
<@&987246584574140416> please have a look, thanks.
Do you have an appropriate driver dependency in the pom.xml?
Something like this...
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
<version>3.5.2</version>
</dependency>
Also never. Never, never, never. Never store your credentials in the code. Your code is basically plain-text that any attacker could see.
Yes i do
<dependencies> <!-- Dependencia de MariaDB --> <dependency> <groupId>org.mariadb.jdbc</groupId> <artifactId>mariadb-java-client</artifactId> <version>3.1.4</version> </dependency> </dependencies>
Yes im aware of that, thing is im just testing things out and when i fix certein things im going to put credentials in properties files encripted, im just doing 1 thing at a time
I dont know what happened but i change to intellij and it worked lol