Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: [Solved]: Newbie having problems installing Coppermine  (Read 2944 times)

0 Members and 1 Guest are viewing this topic.

soldave

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
[Solved]: Newbie having problems installing Coppermine
« on: June 02, 2004, 10:26:20 am »

I've just got Coppermine as I would like to set up a gallery on my free webspace.  I've uploaded it to my server, enabled the MySQL database on the server, and run the installation script.  I input what I think is the right info, but then when I click continue I get the following message:

Could not create a mySQL connection, please check the SQL values entered

MySQL error was : Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

Now I know very little about php scripts, MySQL databases etc so have no idea what this is on about.  Could someone please let me know what it is telling me, and how I can get around this problem.  Many thanks in advance:)
« Last Edit: June 02, 2004, 04:37:29 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Newbie having problems installing Coppermine
« Reply #1 on: June 02, 2004, 01:53:46 pm »

Basically this message means: the mySQL data you entered in coppermine setup is wrong. Edit include/config.inc.php (on your webserver) and fill in the proper data. No other advice we could give you I'm afraid.

GauGau
Logged

soldave

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Newbie having problems installing Coppermine
« Reply #2 on: June 02, 2004, 01:56:41 pm »

Well thanks for that info.  Will try a few things when I get back form work and see if I get any success.

Will report back later...
Logged

loudone

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
  • ALL things web!
    • Web Solutions
Re: Newbie having problems installing Coppermine
« Reply #3 on: June 02, 2004, 04:03:04 pm »

inside your "includes" directory, your "config.inc.php" file should read similar to:

Code: [Select]

<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =                         "localhost";        // Your database server
$CONFIG['dbuser'] =                         "jeremy12";        // Your mysql username
$CONFIG['dbpass'] =                         "*****";                // Your mysql password
$CONFIG['dbname'] =                         "album";        // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                "cpg11d_";
?>


'dbpass' removed for obvious reasons...

the 'db server should be localhost

the rest is whatever you set up in your MySql database.... on your server.

also, ensure that your server supports PHP in the correct build, some "free" webspace providers do not provite PHP.
Logged

soldave

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Newbie having problems installing Coppermine
« Reply #4 on: June 02, 2004, 04:05:06 pm »

I got it working!!!  Had to change my db server address to the specific db server on my webspace (rather than localhost) but it's all working ok now:)

Thanks for the info offered - it was much appreciated.
Logged

soldave

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: [Solved]: Newbie having problems installing Coppermine
« Reply #5 on: June 02, 2004, 09:21:04 pm »

Right - I've uploaded a fair few photos for your viewing.  If you want to view them (and you're all more than welcome) then visit:

www.soldave.f2s.com/coppermine
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 18 queries.