Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   MySQL (https://www.clubdelphi.com/foros/forumdisplay.php?f=21)
-   -   Error (10060) conectando a MySql (https://www.clubdelphi.com/foros/showthread.php?t=47229)

MaMu 22-08-2007 06:15:58

Error (10060) conectando a MySql
 
Error (10060) conectando a MySql.

Instale Zeos correctamente en mi delphi7. Empece a hacer pruebas de conexion, y 2 o 3 veces me logre conectar, pero despues ya no, y me sale el error 10060 (Can't connect etc....(10060))

Alguien me podria decir porque se produce?

Uso MySQL 4.1 sobre Windows 2000 Server

Saludos

MaMu 22-08-2007 19:58:49

Bueno, por lo que lei y encontre, se debe a esto:

Código:

Socket error = #10060

10060 is a Connection Time-out error that usually appears when the client does not receive a response from the server for a specific command.
 
Most often this occurs when you try to connect in PASV mode to a server that prefers PORT for data connections. If you see an error log similar to the one following, right click the problem site and choose Site Properties, click the TYPE tab and change the Data Connection Type to Use PORT.
 
COMMAND:> PASV
227 Entering Passive Mode (xxx,xx,xxx,xx,x,xxx).
COMMAND:> LIST
STATUS:> Connecting ftp data socket xxx.xx.xxx.xx:xxxx...
ERROR:> Can't connect to remote server. Socket error = #10060.
ERROR:> Failed to establish data socket.
 
If you are still receiving a 10060 error, another possible cause is the server is trying to send a listing for a very large directory (with many thousands of files) causing the client to time-out while waiting. Try increasing the time-out value under Tools > Global Options > Transfer > Reconnect and resume in [n] seconds if nothing received, to a higher value, such as 45 or 60 seconds.

Me parece que el servidor no tiene habilitado el acceso root remoto.

Saludos.

MaMu 26-08-2007 14:03:52

SOLUCIONADO

La solucion fue muy sencilla. Se tuvo que crear un usuario con privilegios de base de datos, y habilitar root remoto.

Saludos


La franja horaria es GMT +2. Ahora son las 15:39:34.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi