L2JMobius

db_installer Connection error

TheMIRACLE · 6 · 2436

Offline TheMIRACLE

  • Vassal
  • *
    • Posts: 3
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!


Offline Index

  • Black Sheep
  • Marquis
  • *****
    • Posts: 536

Offline TheMIRACLE

  • Vassal
  • *
    • Posts: 3
I only have MySQL and a user with all rights. I installed it in XAMPP package Just like on a local machine


Offline Mechagon3k

  • Knight
  • ***
    • Posts: 67
"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 :)


Offline Index

  • Black Sheep
  • Marquis
  • *****
    • Posts: 536
I only have MySQL and a user with all rights. I installed it in XAMPP package Just like on a local machine
Code: [Select]
URL = jdbc:mysql://localhost/DATABASE_NAME?useUnicode=true&characterEncoding=utf-8&useSSL=false


Offline TheMIRACLE

  • Vassal
  • *
    • Posts: 3
I solved a problem.
Just built a project on a server, not on my local machine.
Thanks for your answers!  ;)