Replies: 13 comments
-
Did you create a database called plan? |
Beta Was this translation helpful? Give feedback.
-
yes and i can connect it on my pc |
Beta Was this translation helpful? Give feedback.
-
Does the |
Beta Was this translation helpful? Give feedback.
-
yes there is |
Beta Was this translation helpful? Give feedback.
-
It could be the +8 in the Launch_options - you don't need to change the server time zone there (Plan expects UTC for the connection) |
Beta Was this translation helpful? Give feedback.
-
the db was there before, I updated the plugin (1583->1628) then it cannot connect the db |
Beta Was this translation helpful? Give feedback.
-
Ah yep it was the +8 - The errors happen because there is a missing row in the database and schema update patches are failing. I'll send you some SQL to find and correct the incorrect data |
Beta Was this translation helpful? Give feedback.
-
SELECT u.uuid, g.uuid FROM temp_geoinformation g
LEFT JOIN plan_users u on u.uuid=g.uuid
WHERE u.uuid IS NULL; Then run this with the UUIDs that the first query returns INSERT into plan_users (uuid, registered, name, times_kicked) VALUES ('uuid here', 1650023218067, 'delete_me_later', 0); After that |
Beta Was this translation helpful? Give feedback.
-
Sorry i don't know much about sql, i don't know what is means |
Beta Was this translation helpful? Give feedback.
-
Paste the first into the thing you have open I. HeidiSQL and press the blue play button Then copy the results that show up Then put the 2nd query in the box, and replace Then reload Plan |
Beta Was this translation helpful? Give feedback.
-
I'll write some code to fix databases in this state automatically since this seems to be more common than I thought. |
Beta Was this translation helpful? Give feedback.
-
Please update to https://github.com/plan-player-analytics/Plan/releases/tag/5.4.1633 to have your issue fixed automatically |
Beta Was this translation helpful? Give feedback.
-
Question
Unable to connect MySQL Database
plan ver: 5.4 build 1628 (velocity & fabric)
Additional context
log(fabric):
log(velocity):
plugin mysql config:
Beta Was this translation helpful? Give feedback.
All reactions