56,681
社区成员
发帖
与我相关
我的任务
分享
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 10
Server version: 5.6.14 MySQL Community Server (GPL)
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show VARIABLES like '%max_allowed_packet%';
+--------------------------+------------+
| Variable_name | Value |
+--------------------------+------------+
| max_allowed_packet | 4194304 |
| slave_max_allowed_packet | 1073741824 |
+--------------------------+------------+
2 rows in set (0.00 sec)
mysql> set global max_allowed_packet = 2*1024*1024*10;
ERROR 1227 (42000): Access denied; you need (at least one of) the SUPER privileg
e(s) for this operation
mysql> set global max_allowed_packet = 16M;
ERROR 1227 (42000): Access denied; you need (at least one of) the SUPER privileg
e(s) for this operation
mysql>