Hello,
When I try to Open TMyConnection on design mode, it took too much time, I use the direct mode with user has all the privilege for the database I want to use, when I change the host to "localhost" instead of computer name and using Root user, it's open very fast, why if I use the computer name instead of localhost, opening connection is slow?
btw, I don't run any firewall
Regards,
TMyConnection.Open is too slow
-
tltmusashi
- Posts: 5
- Joined: Tue 06 May 2008 10:38
if u use remote DB, u must set params on MySQL my.ini
write this on the end of file
write this on the end of file
Code: Select all
#Don't cache host names.
skip-host-cache
#Don't resolve hostnames. All hostnames are IP's or 'localhost'.
skip-name-resolve