L2JMobius
Free Users => General Discussion => Topic started by: TheMIRACLE on February 28, 2022, 03:21:37 PM
-
Hello, everyone!
db installs fine on my Windows 11, but when I install it on Windows Server 2012 I get Connection Error: Cannot find MySQL Connector: org.mariadb.jdbc.Driver.
I get the same error with .jar and .exe files.
I googled about jdbc connectors and as I understood this is smth that should be built with the project, but Mobius gave us the same compiled jar on my local machine and on the server. So the problem isn't in the jar. Then I reinstalled Java, set JAVA_HOME variable. No results.
How can I solve this problem?
Thank you in advance!
-
are you have database ?
mariadb\mysql ?
-
I only have MySQL and a user with all rights. I installed it in XAMPP package Just like on a local machine
-
"I only have MySQL and a user with all rights"
If you can read... your freakin' connector is searching for MariaDB and you said that you have MySQL DB installed. :D
Connection Error: Cannot find MySQL Connector: org.mariadb.jdbc.Driver.
Simple as that... see? It's a miracle :)
-
I only have MySQL and a user with all rights. I installed it in XAMPP package Just like on a local machine
URL = jdbc:mysql://localhost/DATABASE_NAME?useUnicode=true&characterEncoding=utf-8&useSSL=false
-
I solved a problem.
Just built a project on a server, not on my local machine.
Thanks for your answers! ;)