473,781 Members | 2,413 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 #1
17 78093
pbmods
5,821 Recognized Expert Expert
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
Expand|Select|Wrap|Line Numbers
  1. SHOW TABLES;
.
Sep 11 '07 #2
abdoelmasry
104 New Member
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
Sep 11 '07 #3
code green
1,726 Recognized Expert Top Contributor
Do you have the relevant permissions?
Sep 12 '07 #4
abdoelmasry
104 New Member
yes code green

im using mysql with full control permissions im the root
Sep 13 '07 #5
code green
1,726 Recognized Expert Top Contributor
This is a mystery. If you are convinced the table is corrupted and they are MyISAM you could run
Expand|Select|Wrap|Line Numbers
  1. REPAIR TABLE tablename
.
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?
Sep 14 '07 #6
pbmods
5,821 Recognized Expert Expert
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`?
Sep 14 '07 #7
abdoelmasry
104 New Member
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:
Expand|Select|Wrap|Line Numbers
  1. +-----------+--------+----------+---------------------------------+
  2. | Table     | Op     | Msg_type | Msg_text                        |
  3. +-----------+--------+----------+---------------------------------+
  4. | job.pages | repair | error    | Table 'job.pages' doesn't exist |
  5. +-----------+--------+----------+---------------------------------+
  6.  
i gonna be mad
Sep 15 '07 #8
pbmods
5,821 Recognized Expert Expert
Heya, Abdoelmasry.

What do you get when you issue a SHOW TABLES?
Sep 15 '07 #9
abdoelmasry
104 New Member
hi pbmods

I got all database tables

Command :

Expand|Select|Wrap|Line Numbers
  1. show tables;
Result:

Expand|Select|Wrap|Line Numbers
  1. +---------------+
  2. | Tables_in_job |
  3. +---------------+
  4. | cpanelstyle   |
  5. | cptags        |
  6. | cpusers       |
  7. | forms         |
  8. | pages         |
  9. | parts         |
  10. | phrase        |
  11. | styles        |
  12. +---------------+
and this is All database (job) tables .
Sep 16 '07 #10

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

Similar topics

4
3733
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
3604
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
1534
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
1072
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
7107
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
4255
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
2543
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
9474
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
10308
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...
0
10143
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10076
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
8964
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5375
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5507
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2870
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.