Help Center Live Community

Support => Installation Help & Software Support => Topic started by: Mikki on September 29, 2007, 05:12:26 PM



Title: problems in connect to mysql
Post by: Mikki on September 29, 2007, 05:12:26 PM
Hello,
i try install it and run but after instalation o have this error
Quote
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'XX.XXX.XXX.XXX' (4) in /mnt/web1/22/82/51626182/htdocs/hcl/class/database.php on line 48
Can't connect to MySQL server on 'XX.XXX.XXX.XXX'(4)

can someone help me with it?

thanks alot
regards
Mikki


Title: Re: problems in connect to mysql
Post by: HCL Admin on September 29, 2007, 10:24:44 PM
Is the MySQL server the same as the web server...


Title: Re: problems in connect to mysql
Post by: clavel on September 03, 2008, 06:44:57 PM
I have the same problem:

Warning: mysql_connect(): Can't connect to MySQL server on 'external-db. s14788xxxxxxxxx. com' (111) in /xxxxxxxxxxx/hcl/class/database. php on line 48
Can't connect to MySQL server on 'external-db. s14788. xxxxxxx. com' (111)

It's an external MySQL server, my provider allow to external request access database.

the problem looks like is in this file: class/database. php on line 48

Can you help me??? Please. . .  Thank you!