vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   master, slave replication for mysql and vbulletin 3.8.2 (https://vborg.vbsupport.ru/showthread.php?t=304851)

terence@nabi 11-22-2013 07:30 AM

master, slave replication for mysql and vbulletin 3.8.2
 
Hi,

I'm trying to setup database replication for a vBulletin 3.8.2 and I'm getting some errors on preventing tmp tables from being replicated.

[slave /etc/my.cnf]
.. login stuff
binlog_do_db = vBulletin

# ignore replication for some memory tables
replicate-ignore-table=vBulletin.vbb_cpsession
replicate-ignore-table=vBulletin.vbb_session
replicate-wild-ignore-table=vBulletin.vbb\__aggregate\_temp\_%

[master /etc/my.cnf]
binlog_do_db = vBulletin
....

show slave status:
Last_SQL_Error: Error 'Table 'vBulletin.vbb_taggregate_temp_1384941360' doesn't exist' on query. Default database: 'vBulletin'. Query: 'UPDATE vbb_thread AS thread,vbb_taggregate_temp_1384941360 AS aggregate
SET thread.views = thread.views + aggregate.views
WHERE thread.threadid = aggregate.threadid'

Is there a my.cnf somewhere that I can check for a proper master, slave replication for vBulletin?

Thanks

Simon Lloyd 11-22-2013 08:51 AM

.vbb_taggregate_temp_1384941360' those are temp files created when you've had a table crash or database error, you can delete those.


All times are GMT. The time now is 09:15 AM.

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.00945 seconds
  • Memory Usage 1,705KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete