Page 1 of 1

I had the follow error in MySqlConnecction

Posted: Fri 28 Jan 2005 15:45
by serghio
Error:
I will be trying conecct to hosting in the web..... but I can't do it

Posted: Mon 31 Jan 2005 08:49
by Serious
Please send us your connection string and full error message.

Posted: Mon 31 Jan 2005 09:01
by serghio
the error is the follow:
error: Can't connect to MySQL server on 'mysql5.secserver.net' (10061)
mi cadena de conexion es:

Code: Select all

  cn = New MySqlConnection("Host=mysql5.secserver.net; User Id=miUI; password=miP; DataBase=miDB")

I'm used a hosting, in other place, there aren't problem for it?


Could you give me your yahooMessenger or MSNmessenger, please?

Posted: Mon 31 Jan 2005 10:29
by Serious
Try to use IP address of MySQL database host to which to connect.
Note that some hosts from considerations of safety allow to connect only
from "localhost".

Posted: Tue 01 Feb 2005 03:11
by serghio
but, I needed to connect to this hosting..., I THINK IT'S POSIBLE TO MAKE, help me, please....

Posted: Tue 01 Feb 2005 15:25
by Serious
Did you try to connect to the server using IP address?
If you still cannot connect check server preferences, MySQL server configuration, correctness of your user id and password.

Posted: Thu 03 Feb 2005 19:24
by serghio
what is the problem:
cn = New MySqlConnection("Host=mysql5.secserver.net; User Id=miUI; password=miP; DataBase=miDB")


in it's?

Posted: Mon 07 Feb 2005 14:09
by Serious
We think the problem is in your network configuration. We cannot give you advices in network administration.
Also we emphatically recommend you to use IP-address of your database host.