LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-21-2011, 12:56 PM   #1
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
repairing a corrupted mysql table on a shared hosting server


i was trying to do some maintenance on the database and i have the following problem when looking at the database with phpmyadmin on the site

Code:
              Table                             Ation                                         Records   Type  Collation  Size    Overhead
	uc_order_products_pair_vw 	Browse 	Structure 	Search 	Insert 	Empty 	Drop 	~01 	View 	--- 	unknown 	-
	uc_order_products_qty_vw 	Browse 	Structure 	Search 	Insert 	Empty 	Drop 	~01 	View 	--- 	unknown 	-
	uc_order_products_user_vw 	Browse 	Structure 	Search 	Insert 	Empty 	Drop 	~01 	View 	--- 	unknown 	-
and trying to repair the tables by select all/repair gives the following error

Code:
Table 	                                  Op 	Msg_type 	Msg_text 
dsystems.uc_order_products_pair_vw 	repair 	Error 	'dsystems.uc_order_products_pair_vw' is not BASE T...
dsystems.uc_order_products_pair_vw 	repair 	error 	Corrupt
dsystems.uc_order_products_qty_vw 	repair 	Error 	'dsystems.uc_order_products_qty_vw' is not BASE TA...
dsystems.uc_order_products_qty_vw 	repair 	error 	Corrupt
dsystems.uc_order_products_user_vw 	repair 	Error 	'dsystems.uc_order_products_user_vw' is not BASE T...
dsystems.uc_order_products_user_vw 	repair 	error 	Corrupt
how can i fix this? i don't have access to any command line utilities

Last edited by frieza; 02-21-2011 at 01:01 PM.
 
Old 02-22-2011, 07:06 AM   #2
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,460

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Hi

These are not tables, they are views. There seems to be a bug in phpmyadmin which lets you select a view (among the tables) and then do "repair table" on them. But it's not critical, MySql just gives an error message about it.

If you click on a view to select it, you will see there is no "Operations" tab, as they are meaningless on views.
 
1 members found this post helpful.
Old 02-22-2011, 12:23 PM   #3
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Original Poster
Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
thanks, i had begun to suspect this might be the case after posting this, now i know for sure
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using WGET and escaping URL with query string(shared server web hosting CentOS) tinonetic Linux - Server 1 07-13-2010 11:27 PM
Need help repairing partition table with raid0 LVM configuration. Oakems Linux - Hardware 3 12-12-2009 01:46 PM
mysql Copying to tmp table constantly, crashing server abefroman Linux - Server 1 10-28-2009 02:54 PM
How can I find server port on shared hosting using PuTTy? JimTrail Linux - Server 1 02-13-2009 03:54 AM
Shared Hosting server Gaz25 Linux - Networking 3 05-31-2005 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration