List:General Discussion« Previous MessageNext Message »
From:Gleb Paharenko Date:December 29 2004 9:46am
Subject:Re: MySQL unixsocket to tcp connection
View as plain text  
Hello.

>    I was timming my scripts, and the biggest time the scripts took are =
> in  the DBI->connect process

I think that the root of the problem may be
in slow name resolving. You can disable DNS hostname lookups. See:
  http://dev.mysql.com/doc/mysql/en/DNS.html



Jos? Miguel Fernandes <jfernandes@stripped> wrote:
> Hi,
> =20
>    I have a RADIUS server (radiator), reading and writting intensively =
> in a
> mysql database.
> =20
>    I was timming my scripts, and the biggest time the scripts took are =
> in
> the DBI->connect process
> =20
>    The database is in another server, so I have to connect to the =
> database
> over tcp.
> =20
>    My question is: Is there any program that opens a connection to =
> mysql,
> and
> that I could use to connect to the database using unixsocket using =
> always
> the same connection?
> =20
>    Anyone have anyother ideia how I could speed up my connection phase?
> =20
>    Thanks everyone,
> =20
> Jos=E9 Miguel Fernandes
> 
> 


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   Gleb.Paharenko@stripped
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
       <___/   www.mysql.com



Thread
MySQL unixsocket to tcp connectionJosé Miguel Fernandes29 Dec
  • Re: MySQL unixsocket to tcp connectionGleb Paharenko29 Dec