phpMyAdmin, MySQL and Foreign Keys

Soldato
Joined
30 Nov 2005
Posts
3,084
Location
London
Coming from a Microsoft Access mindset, I've been a bit confused with how and whether I can do/need Foreign Keys in a MySQL database.

I'm starting to learn it slowly but I seem to be going round in circles with foreign keys and MySQL.

Is there some other method?

Sorry if this is a kind of "noobish" post but as I said I'm trying to change my mindset.

Cheers for any help.
 
I've never found a way to do it in PHPMyAdmin. I generally use the mysql cli to do it.

ALTER TABLE foo ADD CONSTRAINT etc..
 
Back
Top Bottom