December 2nd, 2013, 11:51 PM
[RESOLVED] MySQL database connecting with VC++ through LAN
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 : 192.168.100.123
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.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.