1 下载地址 http://mysql.cs.pu.edu.tw/Downloads/MySQL-5.5/mysql-5.5.13.tar.gz
2 编译 BUILD/compile-pentium64-debug --prefix=/home/admin/mysql/mysql-bin
3 安装 make ; make install
4 服务需要的数据库设定 ./scripts/mysql_install_db --basedir=/home/admin/mysql/mysql-bin --datadir=/home/admin/mysql/mysql-bin/data/
5 调试 gdb bin/mysqld
6 break handle_one_connection