Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: failed to set global max_allowed_packet #20845

Open
1 task done
xzxiong opened this issue Dec 19, 2024 · 1 comment
Open
1 task done

[Bug]: failed to set global max_allowed_packet #20845

xzxiong opened this issue Dec 19, 2024 · 1 comment
Assignees
Labels

Comments

@xzxiong
Copy link
Contributor

xzxiong commented Dec 19, 2024

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

2.0-dev

Commit ID

bfd6fa3

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

mysql> set global max_allowed_packet = 134217728;
ERROR 20101 (HY000): internal error: convert to the system variable int type failed
mysql> select 134217728 >> 20;
+-----------------+
| 134217728 >> 20 |
+-----------------+
|             128 |
+-----------------+
1 row in set (0.00 sec)

mysql> select git_version();
+---------------+
| git_version() |
+---------------+
| bfd6fa37f     |
+---------------+
1 row in set (0.00 sec)

Expected Behavior

No response

Steps to Reproduce

mysql> set global max_allowed_packet = 134217728;

Additional information

No response

@ck89119
Copy link
Contributor

ck89119 commented Dec 20, 2024

max_allowed_packet最大值限制的问题,当前max_allowed_packet可设置的最大值是64M,之前最大值是1G不确定什么原因改成了64M;经与产品沟通,最大值改回1G。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants