DbLib

DbLib 1.0.1

augesrob

Moderator
Staff member
augesrob submitted a new resource:

DbLib - DbLib is a library, that allows to get access to database simply.

DbLib is a library, that allows getting access to the database simply.

Latest Dev Build [ IMG]

Features
Provides access to popular database engines: SQLite and MySQL;
Includes popular library ORMLite, that provides access to database without using SQL-queries;
Organizes universal data storage for all plugins, that uses DbLib. Server owner must configure DbLib once and all plugins that use DbLib will work fine!

How to use plugin (Server owners must read this)
If any plugin requires a DbLib...
Read more about this resource...
 

mymain838

New Member
My operating system : Ubuntu 16.04 LTS
nukkit version: #523 nukkit.jar (git-54db1a0) API 1.0.9
Dblib plugin version: 1.0.1
Problem cause : https://github.com/EnterTG/MyHero_Items_Nukkit/issues/8

Plug-in with Dblib.
Strangely, it works well with the Windows 7 operating system, but it doesn't work with the Linux operating system (Ubuntu 16.04LTS).

I think it's a good idea.
for (Map.Entry[String, Object] config.entrySet())
An error has occurred in performing this code.

If the problem can't be solved,
What kind of Linux operating system does it work well other than the Windows operating system?

Thank you for your reply.
 
Last edited:

revpixel

New Member
Code:
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver
Seems this may need an update...still connects but may not for much longer with newer version of openJDK
 

WylSmart

New Member
Fixed bitte >
Code:
Caused by: com.mysql.cj.exceptions.CJCommunicationsException: The last packet successfully received from the server was 6,471,540 milliseconds ago.  The last packet sent successfully to the server was 6,471,540 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
 
Top