i am developing at vb.net,
i have this connection string,
public OdbcConnection con = new OdbcConnection("Driver={MySQL ODBC 3.51 Driver};Server=localhost;Database=db_smis; User=root;Password=;");

there is no problem with it, while my Server is set to "localhost".

The problem comes when i change the value of the "Server=" using IP address, or even my Computer name(which is the same pc i am working on) but the connection would become so slow. It would even take 5-10 secs to load a form setting the Server=(IPAddress/PC-name)..
I don't know what seems to be the problem, using "Server=localhost" loads data fast.
When i tried to use another unit to connect to my main computer using another pc, the connection would be very slow.
Please help me on this one.