Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 General Discussions

Reply
 
Thread Tools Display Modes
  #21  
Old 01-20-2016, 01:36 PM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My cpanel looks like this. . .



You will find php MyAdmin on there and MySQL Databases.
To copy your database go to phpMyAdmin, select your databse from the pane on the right. You will see its name. Click on it and you will get a page that looks similar to this..



At the top you can see OPERATIONS.. Click on that..



Where it says 'copy database to' give your new database a name and click GO

Or as an alternative, instead of choosing OPERATIONS, you could choose EXPORT and do it that way instead.
Attached Images
File Type: jpg cpanel.jpg (84.3 KB, 0 views)
File Type: jpg panel.jpg (120.4 KB, 0 views)
File Type: png copy.PNG (32.6 KB, 0 views)
Reply With Quote
  #22  
Old 01-20-2016, 01:37 PM
Hectorsky's Avatar
Hectorsky Hectorsky is offline
 
Join Date: Mar 2015
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So just to be sure. I will make database backup now , than I will install new version of soft , and it will be clean forum , after I will need to delete all tables on new database and to import old one yea? But I will need to do again upgrade for that and it can be same issue ,.

--------------- Added [DATE]1453304770[/DATE] at [TIME]1453304770[/TIME] ---------------

I think it won't work, because I will make backup of trash database , so when I will do importing of old database it will request to do upgrade ,and I can have same issue.
Reply With Quote
  #23  
Old 01-20-2016, 01:59 PM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by faustvasea97 View Post
So just to be sure. I will make database backup now , than I will install new version of soft , and it will be clean forum , after I will need to delete all tables on new database and to import old one yea? But I will need to do again upgrade for that and it can be same issue ,.
1. Make back up yes. You should do this before any upgrade or before you test anything or do anything. Your database will hold everything you have done.

2. Create a new database, it should have the same name and username details as you have put in your config.php.

3. Run the install like you did when you made your first successful attempt.
http://yoursite/core/install/install.php or whatever.
Let the install do it's job. You might remember the page that tells you to remove the install folder before you go to admincp. Do that.

4. When complete, go to the database that has been newly created and delete all tables.

5. Then go to the IMPORT feature at the top of the page and import the database you safely copied and downloaded. Import it to the database you have deleted all tables from.

6. It might also be an idea to test the copied database for anything else?

From memory, this is the way I would do it. Make sure your config.php reflects the names and paswords etc. . . . .

If it fails, you have still achieved in learning how to do the most important maintenance task ever.
Copying your database for backup purposes.

Good luck..

--------------- Added [DATE]1453305632[/DATE] at [TIME]1453305632[/TIME] ---------------

If your database is trash then you have nothing to lose.
Just do the install and begin again with your newly gained advantage. . .
Reply With Quote
  #24  
Old 01-20-2016, 02:08 PM
Hectorsky's Avatar
Hectorsky Hectorsky is offline
 
Join Date: Mar 2015
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DemOnstar View Post
1. Make back up yes. You should do this before any upgrade or before you test anything or do anything. Your database will hold everything you have done.

2. Create a new database, it should have the same name and username details as you have put in your config.php.

3. Run the install like you did when you made your first successful attempt.
http://yoursite/core/install/install.php or whatever.
Let the install do it's job. You might remember the page that tells you to remove the install folder before you go to admincp. Do that.

4. When complete, go to the database that has been newly created and delete all tables.

5. Then go to the IMPORT feature at the top of the page and import the database you safely copied and downloaded. Import it to the database you have deleted all tables from.

6. It might also be an idea to test the copied database for anything else?

From memory, this is the way I would do it. Make sure your config.php reflects the names and paswords etc. . . . .

If it fails, you have still achieved in learning how to do the most important maintenance task ever.
Copying your database for backup purposes.

Good luck..

--------------- Added [DATE]1453305632[/DATE] at [TIME]1453305632[/TIME] ---------------

If your database is trash then you have nothing to lose.
Just do the install and begin again with your newly gained advantage. . .
Yes , but I don't wanna lose data from my database...
Reply With Quote
  #25  
Old 01-20-2016, 02:15 PM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by faustvasea97 View Post
Yes , but I don't wanna lose data from my database...
But that is the whole point and why you are copying it!!! You are copying it so you don't lose it.
Then you say it is trash. So why copy trash?
Reply With Quote
  #26  
Old 01-20-2016, 02:18 PM
Hectorsky's Avatar
Hectorsky Hectorsky is offline
 
Join Date: Mar 2015
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BTW , how I can remove table's from new database?

--------------- Added [DATE]1453306903[/DATE] at [TIME]1453306903[/TIME] ---------------

So in case if your suggestion doesn't work ,vbulletin supporting team , can restore everything and to fix that issue ?
Reply With Quote
  #27  
Old 01-20-2016, 02:30 PM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by faustvasea97 View Post
BTW , how I can remove table's from new database?
Scroll to the bottom of the table page. Click 'Check All' and select drop.

Quote:
Originally Posted by faustvasea97 View Post
So in case if your suggestion doesn't work ,vbulletin supporting team , can restore everything and to fix that issue ?
They will hardly be able to fix your database or be willing to do that. .
Reply With Quote
  #28  
Old 01-20-2016, 02:38 PM
Hectorsky's Avatar
Hectorsky Hectorsky is offline
 
Join Date: Mar 2015
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will try to do that in couple of hours, I will answer here in both case if it was successfully or not . Thanks for help. Hope it will work.
Reply With Quote
  #29  
Old 01-20-2016, 02:45 PM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by faustvasea97 View Post
I will try to do that in couple of hours, I will answer here in both case if it was successfully or not . Thanks for help. Hope it will work.
Make sure you have a copy of your original database before doing anything. Whether it is trashed or not, get used to making database backups. They should be done regularly as a routine.

Never attempt to install mods or script edits until you have a copy of your database to fall back on.
Reply With Quote
  #30  
Old 01-20-2016, 04:04 PM
Hectorsky's Avatar
Hectorsky Hectorsky is offline
 
Join Date: Mar 2015
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DemOnstar View Post
Make sure you have a copy of your original database before doing anything. Whether it is trashed or not, get used to making database backups. They should be done regularly as a routine.

Never attempt to install mods or script edits until you have a copy of your database to fall back on.
Step 1 - Connection successful
Table Conflict
Creating access table
An error has occurred with your database. Please contact vBulletin Support for assistance.

Module: install, Step 2 Database Error:1050

Table 'access' already exists

Query:

CREATE TABLE access (
userid INT UNSIGNED NOT NULL DEFAULT '0',
nodeid SMALLINT UNSIGNED NOT NULL DEFAULT '0',
accessmask SMALLINT UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY userid (userid, nodeid)
) ENGINE = InnoDB
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:57 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04210 seconds
  • Memory Usage 2,285KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete