The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Invalid SQL problem
I've recently started to get this invalid SQL issues:
Code:
Invalid SQL: SELECT * FROM style WHERE (styleid = 2 AND userselect = 1) OR styleid = 2 ORDER BY styleid ASC LIMIT 1; MY.CNF file: Code:
max_connections=500 safe-show-database connect_timeout=15 interactive_timeout=100 join_buffer=1M key_buffer=768M max_allowed_packet=32M max_connect_errors=20 myisam_sort_buffer_size=128M read_buffer_size=12M read_rnd_buffer_size=12M sort_buffer_size=12M table_cache=1024 thread_cache_size=128 thread_concurrency=8 wait_timeout=60 query_cache_size=256M query_cache_limit=8M query_cache_type=1 skip-innodb i've also raised the wait_timout to 120, no success..same problems appear |
#2
|
||||
|
||||
When you change a mysql config value, you need to restart mysql - did you do that? You may have to make the wait_timeout larger. George suggests upping it by about 60 each time until you find the right value for your site. I think I have my site set at 500 and it seems to be about right for us.
|
#3
|
||||
|
||||
yep I did restart it after each change as for that setting, your prolly have also a busy forum. The forum I have this problem is at its beginnings and max 10 users are posting within the forums. Also the traffic per day is max 500 uniques. Isn't it normal for vb to work under very light load with 120 timeout? Also, where's the invalid sql coming from? is there a script something i messed up and i need to repair it?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|