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: Database - "If you already have a database...."  (Read 7140 times)

0 Members and 1 Guest are viewing this topic.

Lady18wheels

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 19
    • lady18wheels.com
Database - "If you already have a database...."
« on: November 27, 2005, 08:05:25 pm »

If this has already been covered, I apologize.  I can't find it.  I'm confused about the database installation and configuration.

I have a phpBB test board - it's database is named ********_phpb3(I also have a phpb1 and phpb2)
The username for phpb3's database is ********_*****
The password for this username is *********

The readme file that came with the cpg1.4 download says:
Quote
You need to create a MySQL database. Using your website Control Panel or a tool like phpMyAdmin, create a MySQL database. Write down the database name, the username and password – you'll need it to successfully install Coppermine. If you already have a database you're using for a BBS or something else, that'll work just as well. You can use that database for Coppermine, too. If you have a BBS and plan to connect it to Coppermine install, you'll need to share the database anyway.

After uploading all the files, and changing the permissions on the appropriate files, I tried to run cpg140/install.php using the phpBB database values for the "Your MySQL configuration".  It didn't work.  Should it have?

I appreciate your time. 

Logged
Interested in trucking in the US?  Try my message board

Nibbler

  • Guest
Re: Database - "If you already have a database...."
« Reply #1 on: November 27, 2005, 08:06:38 pm »

What do you mean by "It didn't work" ?
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Database - "If you already have a database...."
« Reply #2 on: November 27, 2005, 08:08:57 pm »

It should have worked if you used the same mysql values, as long as the prefix is different. However, you would need to say what went wrong and any error messages you see.
Logged

Lady18wheels

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 19
    • lady18wheels.com
Re: Database - "If you already have a database...."
« Reply #3 on: November 27, 2005, 08:10:33 pm »

This is the error msg:
Quote
Could not create a mySQL connection, please check the SQL values entered
MySQL error was : Access denied for user: '********_***** @localhost' (Using password: YES)
« Last Edit: November 27, 2005, 08:15:36 pm by Lady18wheels »
Logged
Interested in trucking in the US?  Try my message board

Lady18wheels

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 19
    • lady18wheels.com
Re: Database - "If you already have a database...."
« Reply #4 on: November 27, 2005, 08:50:22 pm »

... as long as the prefix is different. ....
The prefixes for my phpBB tables are phpbb_
and I assumed that the "MySQL table prefix" default (which is cpg140_) on the cpg140/install.php meant that the installer would do whatever it does to create the table in the phpb3 database using the prefix cpg_140.  Is this, in fact, how it's supposed to work?

Maybe I should say that I also have a copp1 database - fantasico install of v1.3.4, but it isn't bridged.
Logged
Interested in trucking in the US?  Try my message board

Lady18wheels

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 19
    • lady18wheels.com
Re: Database - "If you already have a database...."
« Reply #5 on: November 29, 2005, 08:26:39 am »

Since there were no other replies to this, I created a seperate database and will try to bridge later.
Logged
Interested in trucking in the US?  Try my message board

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Database - "If you already have a database...."
« Reply #6 on: November 29, 2005, 09:15:04 am »

coppermine doesn't create a database. Use the same database you use for your bbs. Keep the default prefix. Details: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#install_screen_start
Logged

Satyr

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 139
    • Gothic Model Gallery - Dark Photo Art
Re: Database - "If you already have a database...."
« Reply #7 on: December 01, 2005, 10:02:07 am »

It's much better to install the tables in the same database as the forum where you want coppermine have beeing bridged.
Depending on serverconfiguration it is possible that you can only access the database via localhost.
That's why it's necessary that both programs have the same database/same mysqlserver.
Logged
Kein Support über PN. Bitte im Forum posten, dann ist anderen auch geholfen.

http://www.gothicmodels.net/gothicmodels/gallery/

Testuser: Test23 PW: 123456

Lady18wheels

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 19
    • lady18wheels.com
Re: Database - "If you already have a database...."
« Reply #8 on: December 02, 2005, 08:08:24 am »

Thanks.

I was able to install on my test board this time - no error messages  :)  Not sure why I got
Could not create a MySQL connection, please check the SQL values entered
MySQL error was : Access denied for user: '********_***** @localhost' (Using password: YES)

on the first go 'round.  Maybe something just hadn't had time to update in MySQL?  I guess it doesn't matter now, because the coppermine tables are, in fact, in the same database as my test phpb3. :D 

In general, if the tables aren't installed in the same database as a phpbb, is a bridge even possible between two seperate databases?
I think this is what Satyr is saying?  I'm so new at all this ....  

 
« Last Edit: December 02, 2005, 08:15:36 am by Lady18wheels »
Logged
Interested in trucking in the US?  Try my message board
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.