Forums / General Questions / MYSQL table EMPTY causing issues

MYSQL table EMPTY causing issues

Locked

Started by lindasdd on 18 May 2008, 3:55 AM · Views: 2,873

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
18 May 2008, 3:55 AM
#1
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

MYSQL table EMPTY causing issues

Within MYSQL I chose to "Empty" the table zen_email_archive. Afterwards I am unable to connect to the site via the admin or regular route. I can't figure out how to fix this issue.

I of course did not back up my DB before the "Empty" although I don't know if that is an issue because I don't care about the lost data anyways.

Any ideas?

-lindasdd

18 May 2008, 4:52 AM
#2
fatguyinaz avatar

fatguyinaz

Zen Follower

Join Date:
Oct 2007
Location:
Safford, AZ
Posts:
313
Plugin Contributions:
0

Re: MYSQL table EMPTY causing issues

I do not believe that emptying that table will affect your access to the site. I know little to nothing about SQL and databases so I backed my small test site's database up and then empties that table to see. Had zero affect.

Maybe your host/server is acting up?

Steve
Zen cart version: 1.3.9h

18 May 2008, 11:18 AM
#3
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

Re: MYSQL table EMPTY causing issues

You are right which is the same thing I was thinking. There is no reason that emptying the data in a table would have that effect.

In the end it turned out I was being an idiot. I was having trouble logging into MYSQL and I changed the password without thinking about the 'Configure' file that contains the hardcoded password.

*****Something interesting I found which may be usefull to others:
-I was considering buying more database space because I was bumping up on my limit(48 MB out of 50MB.)

  • After clearing the email_archive table and turning off email archiving my database usage dropped to 7 MB.

-lindasdd

18 May 2008, 12:41 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: MYSQL table EMPTY causing issues

You can prune your email archive table periodically via the Email Archive Manager contribution from the downloads area if you prefer to have control from your Admin instead of using phpMyAdmin.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.