Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
zzzzsys_session backup ... and the server go away
-
- Posts: 41
- Joined: Thu Sep 30, 2021 10:32 am
zzzzsys_session backup ... and the server go away
The table zzzzsys_session has three records from yesterday sessions and compared to the previous backup (48kb) has (10mb) occupation... it's strange!!!. Now if I try to restore the backup locally it returns me "The MySQL server has gone away (error 2006)". Compared to the previous backup I added an html iframe with the display of a field with base64 data that probably inflates the session table (assume !??). How can I fix!? no errors in operations but I'm afraid I won't be able to make valid copies anymore...
-
- nuBuilder Team
- Posts: 4566
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 531 times
- Contact:
Re: zzzzsys_session backup ... and the server go away
How about deleting the zzzzsys_session's data from the backup file?
-
- Posts: 41
- Joined: Thu Sep 30, 2021 10:32 am
Re: zzzzsys_session backup ... and the server go away
I can do it!? I make the backup for the zzzzz_session table by configuring the copy only for the structure and not for the data!
-
- Posts: 41
- Joined: Thu Sep 30, 2021 10:32 am
-
- nuBuilder Team
- Posts: 4566
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 531 times
- Contact:
-
- Posts: 41
- Joined: Thu Sep 30, 2021 10:32 am
Re: zzzzsys_session backup ... and the server go away
Hi Kevin ... Thanks for helping me ...
1) Backup all tables with data and structure
2) Only for table zzzzsys_session I selected structure. I tried the copy in localhost and it works.
But the table on the server!? Everything works, but how do I delete 10mb sessions in the table!?
1) Backup all tables with data and structure
2) Only for table zzzzsys_session I selected structure. I tried the copy in localhost and it works.
But the table on the server!? Everything works, but how do I delete 10mb sessions in the table!?
-
- nuBuilder Team
- Posts: 4566
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 531 times
- Contact:
-
- Posts: 41
- Joined: Thu Sep 30, 2021 10:32 am
Re: zzzzsys_session backup ... and the server go away
it works! even if in this case after a while the sessions are automatically deleted reducing the size of the database!
Thanks!
Thanks!