phpMyAdmin allows to specify length for JSON field. MySQL rejects it #16641
Labels
Bug
A problem or regression with an existing feature
good first issue
has-pr
An issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Projects
Milestone
I added a JSON type column to an existing table and specified a length. When I ran the request, MySQL reported a syntax error.
Reproduction
Steps to reproduce the behavior:
Open an existing table
Click on Structure
Choose 'Add 1 column'
specify Type as JSON
specify Size/Values as 255
Click Save
MySQL reports a syntax error. See screenshot
Expected behavior
The Size/Values should be disabled if the type is JSON, or PHPMyadmin shoudl warn against putting anything in the field.
Screenshots
Screen shot of error message added
Server configuration
Client configuration
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: