eliteel5
Member
- Messages
- 37
- Reaction score
- 1
- Points
- 8
Good evening all
Hope all are in good health and moving forward
I have a problem which I'm hoping someone can assist me with
Im busy designing a database using phpMyAdmin as back-end for website
All going well save that of on creating referential links using the designer within phpMyAdmin where on attempting to create link I'm getting this error
"Relational Features are disabled "
Code this far for creating tables using mysql is as follows
I'm sure I have all foreign keys enabled correctly for parent table being clients and child table being ClientsWareHouse
What could I be doing wrong
Thanking you all kindly for any light some could provide on this
Please see image clip below
On my own personal server my code seems fine and relationship , a ok and as I would expect the relation to be created
https://drive.google.com/file/d/1vX2aSNWygHlm-0cNqZQJEhe9-6exrms7/view?usp=sharing
Hope all are in good health and moving forward
I have a problem which I'm hoping someone can assist me with
Im busy designing a database using phpMyAdmin as back-end for website
All going well save that of on creating referential links using the designer within phpMyAdmin where on attempting to create link I'm getting this error
"Relational Features are disabled "
Code this far for creating tables using mysql is as follows
Code:
CREATE TABLE IF NOT EXISTS clients
(
Client_ID VARCHAR(50) NOT NULL PRIMARY KEY,
Title VARCHAR(4),
Name VARCHAR(25) ,
Surname VARCHAR(25),
Mobile VARCHAR(12),
Email VARCHAR(40),
PostCode VARCHAR(8),
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE IF NOT EXISTS ClientsWareHouse
( Client_ID VARCHAR(50),
WareHouse_ID VARCHAR(50) NOT NULL PRIMARY KEY,
WareHouse_Name VARCHAR(50) ,
ImageFolder VARCHAR(255),
Description VARCHAR(100),
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
CONSTRAINT fk_Clients
FOREIGN KEY (Client_ID)
REFERENCES clients(Client_ID)
ON UPDATE CASCADE
ON DELETE CASCADE
);
I'm sure I have all foreign keys enabled correctly for parent table being clients and child table being ClientsWareHouse
What could I be doing wrong
Thanking you all kindly for any light some could provide on this
Please see image clip below
On my own personal server my code seems fine and relationship , a ok and as I would expect the relation to be created
https://drive.google.com/file/d/1vX2aSNWygHlm-0cNqZQJEhe9-6exrms7/view?usp=sharing
Last edited: