vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   MySQL Error (https://vborg.vbsupport.ru/showthread.php?t=263442)

Boofo 05-15-2011 06:05 PM

Ask then what you max db connections is set to.

fanhockeycoach 05-17-2011 04:16 PM

thanks for all your help so far. I have two more questions:

1. In the config.php file under master database server name, what is the difference if I put in the servername compared to IP address? Does it change anything if I use one or the other?

2. What is a slave database?

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

Quote:

Originally Posted by Boofo (Post 2196053)
Ask then what you max db connections is set to.

What should it be set too?

Boofo 05-17-2011 04:29 PM

Quote:

Originally Posted by fanhockeycoach (Post 2196800)
thanks for all your help so far. I have two more questions:

1. In the config.php file under master database server name, what is the difference if I put in the servername compared to IP address? Does it change anything if I use one or the other?

2. What is a slave database?

What should it be set too?

It should look like this:

Quote:

// ****** MASTER DATABASE SERVER NAME AND PORT ******
// This is the hostname or IP address and port of the database server.
// If you are unsure of what to put here, leave the default values.
$config['MasterServer']['servername'] = 'localhost';
$config['MasterServer']['port'] = 3306;
You don't have a slave database as that would be on another server, IIRC.

My max_connections are set to 300, but I am on a VPS, and that is probably overkill. Hostagator has their shared accounts set to 25, IIRC.

fanhockeycoach 05-18-2011 09:17 PM

Quote:

Originally Posted by Boofo (Post 2196053)
Ask then what you max db connections is set to.


My max is 10. So what does that mean?

Boofo 05-18-2011 11:01 PM

It means you need to get a new host. If you get very many users on at the same time, you will keep having those kinds of errors.

fanhockeycoach 06-26-2011 12:23 AM

I got 100 VB Database errors yesterday and might site wasn't showing up. I got another 20+ today.

My host shows I am only using 58 of my 300 mb. Would adding another 1000MB help reduce these errors or should I be looking for a new host?


All times are GMT. The time now is 04:53 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.01010 seconds
  • Memory Usage 1,727KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete