Thank you so much for the answers.
After a long time serching the internet I found this '--skip-name-
resolve' thing and put it on my my.ini file.
The most funny was that only the Ubuntu Server was taking all this
time to connect the database everytime.
I tried installing WAMP on my PC and the connection in it tooks the 4
seconds only at the first time.
For the ubuntu it was resolving the name all times.
I think there is a problem with resolving names in linux x windows
connections or something.
Well, living & learning!
Problem solved!
Thanks for helping me.
Have a nice day ;)
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment