corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » people with sql tables knowledge


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author people with sql tables knowledge
Drew
Banned

Registered: 24th Nov 01
Location: County Durham
User status: Offline
7th Dec 04 at 19:56   View User's Profile U2U Member Reply With Quote

im moving a forum from 1 hosting site, to another.

which tables do i need to transfer over, so i keep all the members and posts etc

so far ive copied over the......

catagories
forums
forum_prune
groups
posts
post_text
privmsg
privmsg_text
sessions
topics
topc_watch
users
user_group


do i need any others, or are there some of them i didnt need?
ed
Member

Registered: 10th Sep 03
User status: Offline
7th Dec 04 at 19:57   View User's Profile U2U Member Reply With Quote

You could have done a complete SQL backup then run the script that it generates to rebuild the database - if you are using phpMyAdmin.
Joff
Member

Registered: 17th Oct 00
Location: Cambridgeshire
User status: Offline
7th Dec 04 at 19:58   View User's Profile U2U Member Reply With Quote

Just move everything over.

You'd be best of dumping the contents of each table as batch scripts then running them on the new server.

Posts will have a topic and will be by a user
Topics will be in a forum
Forums will have a category
Users will have private messages too (not sure what _text would be)
...

Move all.
Drew
Banned

Registered: 24th Nov 01
Location: County Durham
User status: Offline
7th Dec 04 at 19:59   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by 1800ed
You could have done a complete SQL backup then run the script that it generates to rebuild the database - if you are using phpMyAdmin.


what is this script? as i did move them all, and when i clicked certain things, it took me back to the old hosting site

this is my 1st ever play with sqls - yes i am in phpMyAdmin
Joff
Member

Registered: 17th Oct 00
Location: Cambridgeshire
User status: Offline
7th Dec 04 at 20:02   View User's Profile U2U Member Reply With Quote

You should be able to perform an export with any mySQL GUI or even just resort to command line prompts.
Drew
Banned

Registered: 24th Nov 01
Location: County Durham
User status: Offline
7th Dec 04 at 20:06   View User's Profile U2U Member Reply With Quote

i exported all files, but im thinking it was maybe the config table that fucked things up, not certain thou
Nismo
Member

Registered: 12th Sep 02
User status: Offline
7th Dec 04 at 20:14   View User's Profile U2U Member Reply With Quote

As Joffery says - copy everything
Drew
Banned

Registered: 24th Nov 01
Location: County Durham
User status: Offline
7th Dec 04 at 20:15   View User's Profile U2U Member Reply With Quote

i did, and it didnt work, as i said
Nismo
Member

Registered: 12th Sep 02
User status: Offline
7th Dec 04 at 20:20   View User's Profile U2U Member Reply With Quote

i dont read posts
Drew
Banned

Registered: 24th Nov 01
Location: County Durham
User status: Offline
7th Dec 04 at 20:21   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Nismo
i dont read posts


after you read this, scroll up, start and the top, read down, reply with some help afterwards


Joff
Member

Registered: 17th Oct 00
Location: Cambridgeshire
User status: Offline
7th Dec 04 at 20:23   View User's Profile U2U Member Reply With Quote

Copy everything.
Drew
Banned

Registered: 24th Nov 01
Location: County Durham
User status: Offline
7th Dec 04 at 20:23   View User's Profile U2U Member Reply With Quote

dont work - i tried
Joff
Member

Registered: 17th Oct 00
Location: Cambridgeshire
User status: Offline
7th Dec 04 at 20:24   View User's Profile U2U Member Reply With Quote

Damn - wish you'd said

Can't you just upload a fresh copy of the forum, get it working, then overwrite the tables?
Drew
Banned

Registered: 24th Nov 01
Location: County Durham
User status: Offline
7th Dec 04 at 20:27   View User's Profile U2U Member Reply With Quote

yeah thats what i have done joffery

then when i upload every table, when i click the 'Go to Administration Panel' it takes me to the old site for some daft reason :S
Joff
Member

Registered: 17th Oct 00
Location: Cambridgeshire
User status: Offline
7th Dec 04 at 20:31   View User's Profile U2U Member Reply With Quote

Show me.


 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
test the nation.... Drew General Chat 15 821
8th Sep 03 at 12:12
by Daimo B
 
Confession: I like Astra 888 X3DOS General Chat 50 1622
8th Oct 03 at 22:07
by CORSA NUT
 
What you think of this??? Stoneyginger General Chat 15 897
31st Oct 03 at 16:02
by Stoneyginger
 
PVDAlloys.co.uk PaulW General Chat 18 1337
28th Dec 03 at 00:20
by PaulW
 
Just about to buy a new motor ;) (pics) Tiger General Chat 55 1920
26th Jul 04 at 17:15
by A1EX
 

Corsa Sport » Message Board » Off Day » Geek Day » people with sql tables knowledge 28 database queries in 0.0107729 seconds