INET_ATON()
INET_ATON
This function used to get the integer value of a IP address.
When store this value, we must use the INT UNSIGNED as column type.
Syntax :
INET_ATON(expr);
Example :
SELECT INET_ATON(’192.168.0.42′);
Output :
3232235562
