Skip to content
This repository was archived by the owner on Oct 29, 2022. It is now read-only.
This repository was archived by the owner on Oct 29, 2022. It is now read-only.

Using Mysql crash #459

@benda95280

Description

@benda95280

Issue description

  • Expected result: What were you expecting to happen?
    Using MYSQL do not work
  • Actual result: What actually happened?
    Switch to json

Steps to reproduce the issue

Set MYSQL
Launch server

OS and versions

  • Plugin Version:
  • PocketMine-MP: 3.25.6
  • PHP: 8
  • Using JIT: no (delete as appropriate)
  • Server OS: W10
  • Game version: Win10 (delete as appropriate)

Other Plugins

Too much to list

  • If you remove all other plugins, does the issue still occur? Yep
  • If the issue is not reproducible without other plugins:
    • Have you asked for help in the community discord before creating an issue?
    • Can you provide sample, minimal reproducing code for the issue? If so, paste it in the bottom section.

Crashdump, backtrace or other files

[11:15:14] [Server thread/ERROR]: [MyPlot] The selected data provider crashed. JSON will be used instead.

Correction ?

MySQLProvider => L48 : Level cannot be index if using TEXT
MySQLProvider => L52 : Level cannot be index if using TEXT
MySQLProvider => In prepare() 'colon' should not be used

(VARCHAR 255 should be enought ?)
(How about Name/ Owner / Helpers / Biome ... ?)

Could you add too :

  • Include message in Exception inside function prepare()
  • In Myplot.php L1387, add under : $this->getLogger()->error("Error: ".$e->getMessage());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions