Adding new host entries to existing mysql users INSERT INTO user (user, host, password) SELECT U.user, '10.x' AS NHost, U.password FROM user AS U