Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > MySQL > Getting Foreign Key relationships etc. in phpMyAdmin / MySQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-14-03, 20:57
whiter whiter is offline
Registered User
 
Join Date: Jul 2003
Posts: 6
Question Getting Foreign Key relationships etc. in phpMyAdmin / MySQL

I am trying to create a new database, which will *naturally* be relational, and so therefore will require Foreign Keys etc..

I see that phpMyAdmin is primitive enough not to support Foreign Keys relationships properly etc. unless it's specially configured to do so.

I've just spent the last hour going through the documentation; and
-- CREATED the 'phpmyadmin' database and all its necessary tables;
-- APPLIED the configuration changes to {config.inc.php}; and
-- then stopped/restarted Apache. (even rebooted since!)
AND IT STILL DOESN'T WORK!

I am connecting to my localserver database, using the 'root' user id; so I
take it I shouldn't have a security problem. So what *IS* my problem with this??

The lines in {config.inc.php} I changed are:-
----------------------------------------------------------------
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'PMA_bookmark';
$cfg['Servers'][$i]['relation'] = 'PMA_relation';
$cfg['Servers'][$i]['table_info'] = 'PMA_table_info';
$cfg['Servers'][$i]['table_coords'] = 'PMA_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'PMA_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'PMA_column_info';
$cfg['Servers'][$i]['history'] = 'PMA_history';
----------------------------------------------------------------

** BUT --- IT STILL DOESN'T WORK **

Anybody know why?


I am getting the following error details:-
----------------------------------------------------------------
$cfg['Servers'][$i]['pmadb'] ... OK

$cfg['Servers'][$i]['relation'] ... not OK [ Documentation ]
General relation features: Disabled

$cfg['Servers'][$i]['table_info'] ... not OK [ Documentation ]
Display Features: Disabled

$cfg['Servers'][$i]['table_coords'] ... not OK [ Documentation ]
$cfg['Servers'][$i]['pdf_pages'] ... not OK [ Documentation ]
Creation of PDFs: Disabled

$cfg['Servers'][$i]['column_info'] ... not OK [ Documentation ]
Displaying Column Comments: Disabled
Bookmarked SQL-query: Disabled
MIME ... not OK [ Documentation ]
$cfg['Servers'][$i]['history'] ... not OK [ Documentation ]
SQL-history: Disabled
----------------------------------------------------------------

PS: All the tables have been created in the {phpMyAdmin} database by 'root', and I am using 'root' for all access (locally).
Reply With Quote
  #2 (permalink)  
Old 01-28-04, 07:32
Dude X Dude X is offline
Registered User
 
Join Date: Jan 2004
Posts: 1
I've got the same problem. I wasn't able to find a topic that has something to do with this.

Who can help me?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On