参考链接1 参考链接2 ALTER TABLE t_userinfo DROP INDEX t_user_nodeId; ALTER TABLE t_userinfo ADD INDEX t_user_nodeId (UserName, NodeID )