I was created the mysql database in my Pc. This database connecting with vc++ code Using MySQL C++ Connection Example in Visual Studio. I done this work in single PC. It's working good. i viewed the table values using vc++ application.

But now want to connecting the database through lan connection. I refered the below link but i'm not clear.Step # 5 Grant access to remote IP address

For your reference, (I installed)
PC1 - visual studio 2003, mysql 5.6 for win32 & mysql connector (Ver : mysql-connector-c++-1.0.5-win32), OS : XP SP2, IP :

PC2 - mysql 5.6, OS: XP SP3, IP: 192,168,100.9

Table created in PC2, database name "test". server = 'localhost', user = 'root', passwd = "".

I like to connect PC1 & PC2 through Lan & access the table using vc++ code.
How can i view PC2's database table values in PC1?

Pls clear me.