Hi Men
i have real problem using mysql database
i make database for my site with mysql
it have very important data
but i think the database tables corrupted
when i use the command
[PHP]select * from table_name;[/PHP]
or
[PHP]describe table_name;[/PHP]
i always get this message:
[PHP]ERROR 1146 (42S02): Table 'job.pages' doesn't exist[/PHP]
im sure the table is exists but mysql server couldn't read it
i need data get back
Any Idea ??
17 78028
Heya, Abdoelmasry.
Changed thread title to better describe the problem (did you know that threads whose titles do not follow the Posting Guidelines actually get FEWER responses?).
Are you using the correct database (jobs)?
Try executing
.
Hi pbmods
im sorry For bad title
when i execute : SHOW TABLES;
i can see all database tables
but i cannot treat them
you Know ??
I cann't drop any of them
Any one help plz
Do you have the relevant permissions?
yes code green
im using mysql with full control permissions im the root
This is a mystery. If you are convinced the table is corrupted and they are MyISAM you could run
.
Never used it, and it should be used with caution.
Are you sure you are looking at the right database and using the correct table name?
Heya, abdoelmasry.
Are you working on a case-sensitive filesystem? Are you matching the spelling and the capitalization of your table name?
Is, for example, the table named `Pages` or `PAGES`, but you're trying to access a table named `pages`?
Hey Men
im sure that im useing the correct characters case
my database name is 'job'
when i tried to repair any database table by using this command:
[PHP]repair table pages;[/PHP]
i got this error: -
+-----------+--------+----------+---------------------------------+
-
| Table | Op | Msg_type | Msg_text |
-
+-----------+--------+----------+---------------------------------+
-
| job.pages | repair | error | Table 'job.pages' doesn't exist |
-
+-----------+--------+----------+---------------------------------+
-
i gonna be mad
Heya, Abdoelmasry.
What do you get when you issue a SHOW TABLES?
hi pbmods
I got all database tables
Command :
Result: - +---------------+
-
| Tables_in_job |
-
+---------------+
-
| cpanelstyle |
-
| cptags |
-
| cpusers |
-
| forms |
-
| pages |
-
| parts |
-
| phrase |
-
| styles |
-
+---------------+
and this is All database (job) tables .
Heya, Abdoelmasry.
Are any of the other tables giving you trouble? Or is it just the `pages` table?
Hi pbmods
all Database tables have the same problem
I cann't use any table of 'job' database
Heya, Abdoelmasry.
Are these InnoDB tables or MyISAM tables?
Did you just recently upgrade your MySQL version?
i used mysql 5 to create this database ('job')
and
i installed new system copy and new mysql copy
but it's the same version mysql 5
i think it couldn't be form changing operating system
it's InnoDB tables
thank U man
all database tables have extension .frm
no other extensions
i tried another solution
i created new database then put 'job' tables files in the new directory of new database
but i have the same problem i can't (describe , select , repair , drop) any table
i checked every table size , i found that all tables have the same size
it's 9 kb so im sure this tables not carring data
i created new table the checked it's size , it's 9 kb
so i can say all tables are corrupted and i can't get it back
if i could repair any table .. what about size ??
thank you guys for tryying
Heya, Abdoelmasry.
What you need to do is create a new database and set up your tables...
... and then go into the filesystem and physically copy the old database table files (*.frm) into the new database folder.
hey pbmods
i tried that but it's not working
the problem with the tables
if i changed database name or directory
i still have problem
Thank U Man
i will start my job with new database
Sign in to post your reply or Sign up for a free account.
Similar topics
by: g |
last post by:
Is there a method where by I could check for a certain table or query
exist in my access database file before I made query to it??
|
by: serge |
last post by:
If I join Table1 to Table2 with a WHERE condition, is
it the same if I would join Table2 to Table1 considering
that the size of the tables are different.
Let's assume Table2 is much bigger than...
|
by: jack |
last post by:
using the following xsd code :
<xs:element name="tblUsers">
<xs:complexType>
<xs:sequence>
<xs:element name="UserID" type="xs:int" />
<xs:element name="FullName" type="xs:string" />...
|
by: otac0n |
last post by:
How can I select the maximum value from a field, but make sure that the
value i want stays greater than a cetrain value?
I currently have this:
SELECT
A.rating,
B.rating,...
|
by: Edwin Knoppert |
last post by:
I wonder how i can make use of a usercontrol which consists of a table with
lot's of background images.
I simply want that table prepared but it's contents is unknown, a sort of
pane or if tab...
|
by: Stephen |
last post by:
Hello,
I have 2 tables, one contains log of all incoming phone calls, and the
other one is simply a phone book.
I want to fetch caller's name if it's already exist in the phone book,
and if it...
|
by: tshad |
last post by:
Using VS 2005:
Here is a piece of code that is saying that a variable doesn't exist which
obviously does:
public string UpdateTables(TableFieldList tableFields,
UnmappedNamesCollection...
|
by: =?Utf-8?B?S2F5xLFoYW4=?= |
last post by:
In my project,i added datagridview to my form , i transfered my table to
datagridview and added multiple rows and when i called dataadapther.update
,,result is ok. But when i tried it for the...
|
by: maheswaran |
last post by:
May this question exist....But i confused...I want to check whether the table is exist or not ....
Like i run a project , on that project i create a temp tables while run time.... on that i want...
|
by: anoop s |
last post by:
I want to delete records of one table that exist in another table. The tables have no primary key. It will take a lot of time compare field by field. Is there any method record by record comparison...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |