phpMyAdmin 2.5.7-pl1
MySQL 4.0.20-log running on localhost
I create to tables in two different databases:
test:
CREATE TABLE `test` (
`EMPLOYEE_ID` int(11) NOT NULL default '0',
KEY `EMPLOYEE_ID` (`EMPLOYEE_ID`)
) TYPE=InnoDB;
human_resources:
CREATE TABLE `employee` (
`EMPLOYEE_ID` int(11) NOT NULL auto_increment,
PRIMARY KEY (`EMPLOYEE_ID`),
) TYPE=InnoDB;
and create reference:
ALTER TABLE test.test ADD FOREIGN KEY
(EMPLOYEE_ID) REFERENCES
human_resources.employee(EMPLOYEE_ID)
in search mode on table test.test got error on field
employee_id (print screen in attached file)
SQL-query :
SHOW TABLE STATUS FROM `test` LIKE 'employee'
MySQL said:
#1146 - Table 'test.employee' doesn't exist
Marc Delisle
None
2.5.7
Public
|
Date: 2004-07-05 14:56 Logged In: YES |
|
Date: 2004-07-02 18:17 Logged In: YES |
|
Date: 2004-07-02 17:07 Logged In: YES |
|
Date: 2004-07-02 17:05 Logged In: YES |
|
Date: 2004-07-02 16:28 Logged In: YES |
|
Date: 2004-07-02 16:21 Logged In: YES |
|
Date: 2004-07-02 16:21 Logged In: YES |
|
Date: 2004-07-02 15:45 Logged In: YES |
|
Date: 2004-07-02 15:29 Logged In: YES |
|
Date: 2004-07-02 14:53 Logged In: YES |
|
Date: 2004-07-02 14:52 Logged In: YES |
|
Date: 2004-07-02 14:42 Logged In: YES |
|
Date: 2004-07-02 14:37 Logged In: YES |
|
Date: 2004-07-02 14:15 Logged In: YES |
|
Date: 2004-07-02 13:28 Logged In: YES |
| Filename | Description | Download |
|---|---|---|
| error.PNG | Table 'test.employee' doesn't exist error | Download |
| error_trace.PNG | traced error | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2004-09-27 18:47 | rabus |
| close_date | - | 2004-09-27 18:47 | rabus |
| priority | 5 | 2004-07-05 14:56 | lem9 |
| resolution_id | None | 2004-07-05 14:56 | lem9 |
| summary | error in search mode with foreign key references | 2004-07-05 14:56 | lem9 |
| File Added | 92661: error_trace.PNG | 2004-07-02 14:15 | aig |
| assigned_to | nobody | 2004-07-02 12:48 | lem9 |
| File Added | 92638: error.PNG | 2004-07-02 11:20 | aig |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use