473,791 Members | 2,949 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

`table` doesn't exist... but I'm sure it does!

abdoelmasry
104 New Member
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 ??
Sep 11 '07
17 78097
pbmods
5,821 Recognized Expert Expert
Heya, Abdoelmasry.

Are any of the other tables giving you trouble? Or is it just the `pages` table?
Sep 16 '07 #11
abdoelmasry
104 New Member
Hi pbmods

all Database tables have the same problem

I cann't use any table of 'job' database
Sep 16 '07 #12
pbmods
5,821 Recognized Expert Expert
Heya, Abdoelmasry.

Are these InnoDB tables or MyISAM tables?

Did you just recently upgrade your MySQL version?
Sep 16 '07 #13
abdoelmasry
104 New Member
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
Sep 16 '07 #14
pbmods
5,821 Recognized Expert Expert
Heya, Abdoelmasry.

Have a look at this document.
Sep 16 '07 #15
abdoelmasry
104 New Member
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
Sep 17 '07 #16
pbmods
5,821 Recognized Expert Expert
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.
Sep 17 '07 #17
abdoelmasry
104 New Member
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
Sep 17 '07 #18

Sign in to post your reply or Sign up for a free account.

Similar topics

4
3734
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??
3
3605
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 Table1. I've never used MERGE, HASH JOINs etc, do any of these help in this scenario?
1
1535
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" /> <xs:element name="UserName" type="xs:string" /> <xs:element name="Password" type="xs:string" /> <xs:element name="Email" type="xs:string" />
3
2178
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, 1/(1+10^((A.rating-B.rating)/400)) AS Expected, Round( -20*( .+. ) / (
0
1073
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 control similar thingy. I want to bring up this user control in an aspx file and then add controls to it at desired location. The usercontrol contains a dynamic table, i mean it resizes itself to it's contents (done by MSIE of course) It did not...
5
2280
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 doesn't exist yet just fetch caller's phone number. Is it possible to do this in just a single query? Something like: SELECT Switch((SELECT count(a.*) FROM phone_log a, phone_book b WHERE
3
7108
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 unmappedNames, DataView dv) { bool newSection = false; bool parameterExists = false; <---- Here is defined
3
3104
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 delete operations,i got the error like "set primary key in your table" ,,i want delete multiple rows from Datatable which doesnt contain primary key
3
4256
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 to chech a table is exist or not... if employee table is exist exit; else create table employee
2
2544
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 and deletion
0
9669
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9515
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10427
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10155
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9995
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7537
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5559
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4110
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.