I have my MySQL instances set up as so:
[mysqld1]
port=3306
datadir=/some/dir
socket=/dome/dir/sock/mysqld.sock
user=mysql
[mysqld2]
port=3307
datadir=/some/dir2
socket=/dome/dir2/sock/mysqld.sock
user=mysql
I also logged into the server locally and added a user:
create user 'test'@'remote.server.addr' identified by 'pass';
grant all privileges on *.* for 'test'@'remote.server.addr' with grant option (syntax may be a little off)
I also confirmed these users were correctly created.
However, when I start the instances and try logging in, I get errors:
local> mysqld_multi start 1-2
remote> mysql -h dbserver.com -p 3006 -u test -p
ERROR 1130 (HY000): Host 'remote.server.addr' is not allowed to connect to this MySQL server
Same with port 3307
. Have I missed a config step?