How to grant remote access to MySQL for a whole subnet? June 7, 2023 by Tarik It looks like you can also use a netmask, e.g. GRANT ... TO 'user'@'192.168.0.0/255.255.255.0' IDENTIFIED BY ...