L2JMobius

Free Users => General Discussion => Topic started by: TheMIRACLE on February 28, 2022, 03:21:37 PM

Title: db_installer Connection error
Post 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!
Title: Re: db_installer Connection error
Post by: Index on February 28, 2022, 04:01:47 PM
are you have database ?
mariadb\mysql ?
Title: Re: db_installer Connection error
Post by: TheMIRACLE on February 28, 2022, 04:09:38 PM
I only have MySQL and a user with all rights. I installed it in XAMPP package Just like on a local machine
Title: Re: db_installer Connection error
Post by: Mechagon3k on February 28, 2022, 04:12:47 PM
"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 :)
Title: Re: db_installer Connection error
Post by: Index on February 28, 2022, 04:57:45 PM
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
Title: Re: db_installer Connection error
Post by: TheMIRACLE on February 28, 2022, 06:00:38 PM
I solved a problem.
Just built a project on a server, not on my local machine.
Thanks for your answers!  ;)