Method: Mysql::ServerProtocol#authenticate

Defined in:
lib/nose/proxy/mysql.rb

#authenticateObject

Perform authentication



99
100
101
102
103
104
# File 'lib/nose/proxy/mysql.rb', line 99

def authenticate
  reset
  write InitialPacket.serialize
  AuthenticationPacket.parse read # TODO: Check auth
  write ResultPacket.serialize 0
end