Make sure that you have set
bind-address = 192.168.1.1
set in yourr my.cnf.
Also make sure you granted the correct rights
so something like for just your client machine
grant all privilege on *.* to `username`@`your-pc-id` identified by 'password'
or
grant all on *.* to 'username'@'%' identified by 'password';
for all hosts.