Home arrow Forum Confused but determined newbie -- Same Database for componet
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 01, 2008, 05:45:12 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 1.0.x (Moderators: -Wolverine, kai920)
| | | |-+  Confused but determined newbie -- Same Database for componet
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Confused but determined newbie -- Same Database for componet  (Read 1637 times)
Sickthing
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
Confused but determined newbie -- Same Database for componet
« on: December 18, 2005, 12:09:28 PM »

I'm confused about one par to the instructions relating to the Joomla/SMF component.  They seem to be saying I should use the same database to install SMF as I did for Joomla.  It also refers to standard smf prefix.  Prefix where?  I thought that referred to the name of the database.  Or is it the tables within the database.  I installed SMF through a script so that may be why I'm confused. 

Perhaps I need to do it manually?  As I get no choice as to where it's installed through Fant??? (the script).

Thanks...
Logged
joomlanewbie
Joomla Master
***

Karma: +20/-5
Offline Offline

Posts: 145


View Profile
Re: Confused but determined newbie -- Same Database for componet
« Reply #1 on: December 18, 2005, 03:25:57 PM »

Have you ever used phpMyAdmin?

you should.

You will see a drop down listing the different databases you have in your installation.

One of them will be 'Joomla' something. make a note of it.

when you are installing SMF, it will have a space for you to put in the name of the database where SMF will create it's tables.

" It also refers to standard smf prefix."

When multiple applications are installed and use the same database, there is the risk that they may choose the same file names, so to try to prevent that, the applications use a prefix to go in front of the names of ALL their tables, so even if one application uses a "members" table, the database will have it as application_members

The smf application by default, prefixes its tables with "smf_"
Technically you could prefix the tables with anything, but some applications and add-ons take shortcuts and assume that the prefix is SMF so it is best to use smf

Now, if you did not install it that way in the begining, it is best to go into phpMyAdmin and delete (DROP) all the SMF tables and reinstall, so you have an installation that is consistent with the installation described in the documentation.


- hope this long winded explanation is somewhat helpful:D
Logged
Bruce Nazarian
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 14


View Profile
Re: Confused but determined newbie -- Same Database for componet
« Reply #2 on: June 01, 2006, 08:35:47 PM »

If I can't drop the old database, because it has entries already,
is there any way to use Joomla-SMF bridge in separate databases?

thanks
Logged
joomlanewbie
Joomla Master
***

Karma: +20/-5
Offline Offline

Posts: 145


View Profile
Re: Confused but determined newbie -- Same Database for componet
« Reply #3 on: September 11, 2006, 12:02:19 PM »

Ooops forgot all about this thread..sorry!
For others reading, what you can do is backup SMF from one database
then RESTORE it in the other


if the prefix is different (coming from the old) I'd simply edit with notepad and do a find and replace to change the prefix then restore into the other database.

Having the application use multiple databases kinda asks for trouble. (at this time anyway)
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login