Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Help please!  (Read 5831 times)

0 Members and 1 Guest are viewing this topic.

terryp3

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Help please!
« on: September 05, 2004, 10:44:21 am »

I've uploaded, CHMODed and when I run instal I get this error : mySQL could not locate a database called 'gwlan01_copper' please check the value entered for this

The values entered are : MySQL Host  localhost
(localhost is usually OK)   
MySQL Database Name    gwlan01_copper
MySQL Username    gwlan01_terry

I've set the db up thus : Users in copper
gwlan01_terry (Privileges: ALL PRIVILEGES)

Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:gwlan01_copper:localhost","gwlan01_terry","<PASSWORD HERE>");
PHP $dbh=mysql_connect ("localhost", "gwlan01_terry", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("gwlan01_copper"); 

So I don't know why it isn't finding it? Could be I'm a dummy and missing the obvious, in which case could you point me in the right direction?
Many thanks.

Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Help please!
« Reply #1 on: September 05, 2004, 12:52:04 pm »

Did you use your control panel or phpmyadmin to create the db gwlan01_copper?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

terryp3

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Help please!
« Reply #2 on: September 05, 2004, 06:20:24 pm »

I used the control panel. Does it make a difference kegobeer? I'll try using PHPMyadmin see what happens.
Logged

terryp3

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Help please!
« Reply #3 on: September 05, 2004, 06:55:40 pm »

I've set it up using phpmyadmin thus : Database gwlan01_coppermine running on localhost
Database gwlan01_coppermine has been created.
 
SQL-query : [Edit] [Create PHP Code]
CREATE DATABASE `gwlan01_coppermine` ;
 
but I'm still getting the same error trying to instal. I tried changing the name to coppermine as above and changing it in the instal fields but still can't find it?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Help please!
« Reply #4 on: September 05, 2004, 09:04:07 pm »

Can you pm me your control panel url, login and password?  I'd like to take a look at your setup.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

terryp3

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Help please!
« Reply #5 on: September 05, 2004, 10:51:26 pm »

PM sent.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Help please!
« Reply #6 on: September 06, 2004, 12:24:12 am »

Where's your coppermine installation?  I can't seem to find it.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

terryp3

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Help please!
« Reply #7 on: September 06, 2004, 08:27:43 am »

http://www.turkeyvilla.com/coppermine/install.php
Installed in www/coppermine.
I may try a completely new instal file by file as I'm running with 56k and a drunk slug moves faster. :-\\
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Help please!
« Reply #8 on: September 06, 2004, 09:54:23 am »

- please allow some time before kegobeer will answer, he's currently away from his pc and can't look into this -

Thought I'd let you know...

Joachim
Logged

terryp3

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Help please!
« Reply #9 on: September 06, 2004, 05:38:38 pm »

Thanks Joachim, no problem. I have been known to be a patient lady, rarely, but known.  ;D
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Help please!
« Reply #10 on: September 06, 2004, 07:47:38 pm »

Why doesn't /coppermine show up in your control panel?  If I connect via FTP it is visible.

I uploaded a small script to connect to the db, and it works.  However, coppermine can't connect for some reason.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Help please!
« Reply #11 on: September 07, 2004, 12:02:47 am »

I'm stumped.  A simple php script that connects to your database works fine, but the Coppermine script can't make any connections at all.  Anyone have an idea here?  Maybe a permission thing that the host needs to straighten out?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

terryp3

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Help please!
« Reply #12 on: September 07, 2004, 09:03:14 am »

Kegobeer, I've found out our hosts are changing servers and can only assume that has something to do with it. I'll see if I can connect coppermine and the db in a couple of days allowing it time to complete, though the fact that you can get another script to connect has me wondering.
It could be something silly like the instal files are sitting on one server while the db's have been transferred?
I'll keep you posted which ever way, and thanks for your help, just glad to know it isn't something inane I've done. :)
Logged

terryp3

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Help please!
« Reply #13 on: September 12, 2004, 11:47:39 pm »

Kegobeer, have you had any other thoughts on this? I've tried re uploading but I'm still getting the same thing?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Help please!
« Reply #14 on: September 13, 2004, 12:09:14 am »

I noticed that I could see your coppermine directory if I use a FTP program, but if I log into your CP I couldn't see the directory at all.  This might have something to do with it but I'm not sure.  Ask your host about that, see if they have an explanation.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

terryp3

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Help please!
« Reply #15 on: September 15, 2004, 08:33:12 pm »

I will, it's somewhere to start, thanks kegobeer.
Logged
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 19 queries.