vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   mysql cpsession & session (https://vborg.vbsupport.ru/showthread.php?t=308676)

xoninet 02-20-2014 05:10 PM

mysql cpsession & session
 
Hi.
Please tell me it's okay or not this Two files sql database or is there any possibility to repair these. I have VB 4.2.2 & php 5.2.17

cpsession] note: The storage engine for the table doesn't support repair

.session] note: The storage engine for the table doesn't support repair and

thanks

Zachery 02-20-2014 07:41 PM

You can't repair them. You also should ever run the repair command unless a table is actually crashed. It'll do more harm than good.

xoninet 02-20-2014 09:59 PM

thanks .. then what else should I do to repair sql database ?

ozzy47 02-20-2014 10:12 PM

Why do you think that those tables need to be repaired?

Lynne 02-20-2014 10:36 PM

Quote:

Originally Posted by xoninet (Post 2482774)
thanks .. then what else should I do to repair sql database ?

If you have a crashed table, then repair that one crashed table.

Why do you think those two tables need repair?

xoninet 02-21-2014 08:04 AM

because think my sql database is corrupt these cause any problem or not ?

Zachery 02-21-2014 09:13 AM

Why do you think it is?

xoninet 02-21-2014 11:02 AM

I think because I tested my sql backup is corrupt cannot import or restore all sql ,for this reason I say this,

ozzy47 02-21-2014 11:05 AM

And what lead you to believe it is those tables, did it error out on them?
Perhaps the backup it's self is bad, how did you do the backup?
What is the size of the database?
How big is your forum, posts members etc?

xoninet 02-21-2014 11:59 AM

Is new forum 1300 members. size database is 137MB


https://vborg.vbsupport.ru/external/2014/02/9.jpg

ozzy47 02-21-2014 12:03 PM

That is not a issue with the tables, it is a server side issue.

MySQL server gone away error explained
Reasons outlined at http://vbtechsupport.com/433/


++++++++++++++++++++++++++++++++

http://dev.mysql.com/doc/refman/5.1/en/gone-away.html
http://dev.mysql.com/doc/refman/5.1/...on-errors.html
http://dev.mysql.com/doc/refman/5.1/...arameters.html
http://dev.mysql.com/doc/refman/5.1/...ion-files.html
http://dev.mysql.com/doc/refman/5.1/...variables.html
[Updated 04/14/09.]

The most common reason for the MySQL server has gone away error

1. Is that the server timed out and closed the connection. By default, the server closes the connection after 8 hours or 28800 seconds if nothing has happened. You can change the time limit by setting the wait_timeout variable when you start mysqld via your server's /etc/my.cnf as well.

2. Another common reason to receive the MySQL server has gone away error is because you have issued a ``close'' on your MySQL connection and then tried to run a query on the closed connection. You can check that the MySQL hasn't died by executing mysqladmin version and examining the uptime.

i.e. to check mysql uptime, in shell as root user type:

mysqladmin -u root -p version

3. You can also get these errors if you send a query to the server that is incorrect or too large. If mysqld gets a packet that is too large or out of order, it assumes that something has gone wrong with the client and closes the connection. If you need big queries (for example, if you are working with big BLOB columns), you can increase the query limit by starting mysqld with the -O max_allowed_packet=# option (default 1M) or via max_allowed_packet variable in your /etc/my.cnf file and restarting mysql after you edited your /etc/my.cnf file. The extra memory is allocated on demand, so mysqld will use more memory only when you issue a big query or when mysqld must return a big result row

xoninet 02-21-2014 12:27 PM

thank you all

ozzy47 02-21-2014 12:32 PM

Not a problem, glad to help. :)

Next time you post a issue, it would be best to provide as much information I'm your first post, so it would not take 11 posts to get to the proper solution.


All times are GMT. The time now is 04:54 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.01055 seconds
  • Memory Usage 1,738KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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