Name
INET_NTOA()
Synopsis
INET_NTOA(IP_address
)
This function converts the numeric equivalent of an IP address to its dot-quad notation. The function INET_ATON() can be used to reverse the results.
SELECT INET_NTOA('209654088') AS 'AT&T'; +--------------+ | AT&T | +--------------+ | 12.127.17.72 | +--------------+
Get MySQL in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.