sysown / proxysql

High-performance MySQL proxy with a GPL license.
http://www.proxysql.com
GNU General Public License v3.0
6.05k stars 983 forks source link

How does proxysql handle the AuthMoreData packet in mysql connection phase? #4631

Open raffertyyu opened 2 months ago

raffertyyu commented 2 months ago

I recently studied the packet process in MySQL connection phase, using MySQL and proxysql source code as examples. When I was looking up the MySQL dev documentation, I found some packages very unique, like AuthMoreData. Based on the documentation, I don't quite understand when MySQL will send this package. Does proxysql have code to handle this packet, because I haven't found it in the code yet? I'm wonder what will happen if proxysql received such a packet without predefined.