A session
is just a result of a successful connection
. Any MySQL client requires some connection settings to establish a connection and after the connection has been established it acquires a connection id (thread id) and some context which is called session.
摘自:http://stackoverflow.com/questions/8797724/try-to-understand-mysql-concepts-session-v-s-connection