installing to webhosting with "mysql" as a localhost installing to webhosting with "mysql" as a localhost
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

installing to webhosting with "mysql" as a localhost

Started by luinorn, August 22, 2007, 05:03:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

luinorn

Hello,
I've been looking up for a problem of my kind, but I haven't foung anything simillar. I'd be happy somebody helped me.

I'm installing a gallery 1.4 to a webhost, where MySQL host is called 'mysql' instead of 'localhost'. However the system somehow doesn't take it and is trying to connect to '<mysql_account>'@'193.86.238.13' (with password YES). I get of course this error message:

Coppermine critical error:
Unable to connect to database !

Problem is: IP 193.86.238.13 address is remote adress to a http server of that webhosting service. I wonder, why it doesn't open connection like  '<mysql_account>'@'mysql'.

Thanks for every hint!

Nibbler