question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MYSQL Error (using latest version)

See original GitHub issue

Description

Describe the bug

Hi! We’ve set up the plugin some minutes ago and we’re getting a MySQL error every time the server starts.

Steps to reproduce the behavior

Connect the MySQL database.

Expected behavior

[00:18:44] [Server thread/ERROR]: [BentoBox] Problem trying to create schema for data object world.bentobox.bentobox.database.objects.Players You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'JSON, uniqueId VARCHAR(255) GENERATED ALWAYS AS (json->"$.uniqueId"), UNIQUE IND' at line 1
[00:18:44] [Server thread/ERROR]: [BentoBox] Problem trying to create schema for data object world.bentobox.bentobox.database.objects.Names You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'JSON, uniqueId VARCHAR(255) GENERATED ALWAYS AS (json->"$.uniqueId"), UNIQUE IND' at line 1
[00:18:44] [Server thread/ERROR]: [BentoBox] Problem trying to create schema for data object world.bentobox.bentobox.database.objects.Island You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'JSON, uniqueId VARCHAR(255) GENERATED ALWAYS AS (json->"$.uniqueId"), UNIQUE IND' at line 1

Screenshots and videos (Optional)

Environment

BentoBox Version (Mandatory)
_______

https://user-images.githubusercontent.com/27495532/79394792-99b80b00-7f78-11ea-8b97-efe306b05f42.png

Plugins (Optional)

_______

Additional context (Optional)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
BONNecommented, Apr 16, 2020

It literary says in error message that you have MariaDB, not MySQL. Use correct database type and everything should work.

0reactions
JavoxDubcommented, Apr 18, 2020

Fixed!

Read more comments on GitHub >

github_iconTop Results From Across the Web

2 Server Error Message Reference - MySQL :: Developer Zone
The MySQL server writes some error messages to its error log, and sends others to client programs. Each server error message includes an...
Read more >
Changes in MySQL 8.0.31 (2022-10-11, General Availability)
In MYSQL 8.0, the special characters are replaced with question mark characters ( ? ) when the object names are added to the...
Read more >
2.11.12 Upgrade Troubleshooting - MySQL :: Developer Zone
A schema mismatch in a MySQL 5.7 instance between the .frm file of a table and the InnoDB data dictionary can cause an...
Read more >
8.4 Connector/ODBC Errors and Resolutions (FAQ)
This error occurs only with MySQL tables using the TEXT or VARCHAR data types. You can fix this error by upgrading your Connector/ODBC...
Read more >
4.22 Troubleshooting Problems Connecting to MySQL
On Linux, another reason that this error might occur is that you are using a binary MySQL version that is compiled with a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found