coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: svecla on July 04, 2008, 02:36:12 PM

Title: [Solved]: How to change the port on with the mysql database works?
Post by: svecla on July 04, 2008, 02:36:12 PM
Hi, sorry if'i ve placed the topic in the wrong category, but i'm green :D

The problem is:

My web provider has decided to delete the mysql 4 database version from the web server, and we have to change to mysql 5. the only problem is, the mysql 5 databases use port 3305 instead of 3306. Effect:

Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'svecla_5'@'85.128.188.123' (using password: YES)

The question is: how can I chcange the port coppermine uses?

svecla
Title: Re: How to change the port on with the mysql database works?
Post by: Nibbler on July 04, 2008, 03:20:36 PM
Edit include/config.inc.php and specify the port. For example localhost:3305
Title: Re: How to change the port on with the mysql database works?
Post by: svecla on July 06, 2008, 10:34:26 AM
Thanks very much for the help.
It works perfect!