Jump to content

[SOLVED] Adding table to existing forum DB - potential problems?


crazytigger

Recommended Posts

Sirs, We have an existing SQL database containing a phpbb forum. It now has reasonably large user base and is the main tool our members have to communicate with each other - it is mission critical. I am the main administrator.

 

Our website has a form for people to fill out and at the moment it emails the contents to a moderator and they put the data in a DB on their machine.

 

I recently wrote a script to export the form data directly to an SQL DB which i have tested on my home server.

 

I find relational databases a bit confusing so I need to know if i can add a new table "contacts" to the existing forum database keeping it separate from the forum proper.. as in, i dont want any values contained in the new "contacts" table to interfere in any way with the forum data.

 

Our server provider is sympathetic to our cause and donates the bandwidth, i dont know how keen they would be to provide us with a further SQL database for this purpose and im not sure it is necessary.

 

Thank you kindly.

Link to comment
Share on other sites

As long as your table name is new (i.e. not one which is ever used directly by the forum) then it should never be touched by the forum software.  Give it a very unique name that forum software would never use so if you upgrade you won't have any table name conflict.

Link to comment
Share on other sites

Sir, many thanks for your reply. Indeed the forum prefixes all its tables with phpbb_ i will take your advice and call it something very unique as well as not including this prefix just in case.

 

You guys have been so helpful to me over the last week it is greatly appreciated.

 

Kind regards.

 

CT

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.