coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: caribe on October 26, 2004, 06:48:45 PM

Title: sitll can't connect to existing database
Post by: caribe on October 26, 2004, 06:48:45 PM
I put the correct setting on the config file of the new install of cpmg, but when I go to the gallery don't see any of the albums of any info that was there, when I go to the database is the info is there, do I missing somthing.

Thanks.
Title: Re: sitll can't connect to existing database
Post by: Tranz on October 26, 2004, 06:56:29 PM
Link, please.
Title: Re: sitll can't connect to existing database
Post by: caribe on October 26, 2004, 07:46:21 PM
this is the first install of cpmg that for some reaseon can't connect http://eventos.pixser.net/ep
it's said MySQL said: Access denied for user: 'pixserf_copp1@localhost' (Using password: YES)
when I go to the database there's no "pixserf_copp1' user how can I fixed.

this is the new install of cpmg tha I put the setting to use the database of the first one http://eventos.pixser.net/ep
Title: Re: sitll can't connect to existing database
Post by: Tranz on October 26, 2004, 07:58:26 PM
You will need to create the user if it's not already there. Then you need to grant the user access to the database, or Add the user to the database. I don't know how your hosting is set up so I can't provide details. Ask your hosting company for help if you can't figure it out.
Title: Re: sitll can't connect to existing database
Post by: caribe on October 26, 2004, 08:55:17 PM
I will try
Thanks, for your help
Title: Re: sitll can't connect to existing database
Post by: Tranz on October 26, 2004, 09:11:49 PM
You're welcome. I hope you can get it working.
Title: Re: sitll can't connect to existing database
Post by: jabi on October 30, 2004, 03:23:30 PM
A "whois" search of the name pixser.net shows it is registered to HostOnce.com. This leads to the question of why you are using "localhost" for the database host name?

Went out to the HostOnce site and looked at the demo admin control panel. If you click on to the mySQL link there is an info page that says "...when connecting to the databse from a script on your website you must use the internal server IP on our network..." It also shows how to identify the database name, user name and password.

Hope this helps.
Title: Re: sitll can't connect to existing database
Post by: caribe on October 30, 2004, 03:48:24 PM
If I create a new database and using phpMyAdmin transfer the info to the new one, then when I setup the new install of cpmg it's should have everithing in place?

Thanks
Title: Re: sitll can't connect to existing database
Post by: jabi on October 30, 2004, 04:34:14 PM
When connected via phpMyAdmin, double check your welcome message to verify the user name and host name.

Provided that you have the connection set up properly, it should work. Just tried it on my localhost.

Don't forget to change the $CONFIG['dbname'] to the new database name in your include/config.inc.php file.