Where is button RELATION VIEW in PHPADMIN 's WAMP
Posted by: qwaszx (113.22.170.---)
Date: May 13, 2010 09:06AM

I can't find button Relation view from anywhere in PHPADMIN 's WAMP .Did you forget add this button in your software ? so how can I make relationship by your software ?? that really a big mistake ? I hope you will add that feature in you new version ??? PLS

Options: ReplyQuote
Re: Where is button RELATION VIEW in PHPADMIN 's WAMP
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: May 13, 2010 09:40AM

nothing to do with wamp

Its not a mistake

by default its not enabled. you will have to do it yourself

>>[thedesignspace.net]

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Where is button RELATION VIEW in PHPADMIN 's WAMP
Posted by: qwaszx (113.22.170.---)
Date: May 13, 2010 12:32PM

Thank for your tip but it just useful when I use Myphpadmin alone.My question is ,How can i am open the relation view in "wamp>myphpadmin " ? you see all the file in folder php of wamp is different than the instruction of thedesignspace.net said and if i do as it said then i will delete wamp and use phpmyadmin alone.

Options: ReplyQuote
RESLOVE PROLEM 'relation view'
Posted by: qwaszx (113.22.170.---)
Date: May 13, 2010 05:03PM

Now !! after searching for a long time ,I have to find the way to reslove this prolem. Very simple !!
--------------------------------------------------------------------------------------------
If you’re using MAMP for your database driven projects you’ll probably be using phpMyAdmin to administer your MySQL database if you’ve decided to go down that route. If you’re creating a database you might be wondering how to create relationships and foriegn keys for your tables.

Firstly you need to check that you have access to the Relation view. To do this open phpMyAdmin and select a database. You need to make sure your tables’ storage engine is set to use InnoDB. Click on a table within your database and choose the Operations tab. Make sure that the storage engine is set to use InnoDB and save your changes.

Now, go back to your table view and click the Structure tab. Depending on your version of phpMyAdmin you should see a link titled Relation view below the table structure. If you can see it you’re good to go. If you can’t you’ll need to follow the steps below to set phpMyAdmin to enable Relations view.

1.Find /Applications/MAMP/bin/phpMyAdmin/scripts/create_tables.sql
2.I left this file default but you can change the table name to anything you want. I left mine phpMyAdmin
3.Open phpMyAdmin and go to the Import tab.
4.Click the browse button and find the create_tables.sql file and then click Go.
5.The tables required for Relation view will be added to the database you specified.
6.Open /Applications/MAMP/bin/phpMyAdmin/config.inc.php
7.Find the Server(s) configuration code block and replace/uncomment the following code and fill in the values. If you left everything default in the create_tables.sql file then you should just cut and paste the lines below.
————-
$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’;
————-
8.Save the file and restart MAMP and refresh your phpMyAdmin console.
9.Go to your database and view one of your tables in Structure mode. You should now see the Relation
===============================================================
OR you can copy and paste that code here :
<?php

/* Servers configuration */
$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';
$i = 0;

/* Server: localhost [1] */
$i++;
$cfg['Servers'][$i]['verbose'] = 'localhost';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
/* Advanced phpMyAdmin features */


// $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
/* Contrib / Swekey authentication */
// $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';

/*

/* End of servers configuration */

$cfg['DefaultLang'] = 'en-utf-8';
$cfg['ServerDefault'] = 1;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';

?>
====================================================
Don't forget you only paste this code after you have done Step 4
====================================================

Options: ReplyQuote
Re: Where is button RELATION VIEW in PHPADMIN 's WAMP
Posted by: mohammedakmal (---.155.178.122.airtelbroadband.in)
Date: September 21, 2011 11:53AM

Why u r mention MAMP?

Options: ReplyQuote
Re: Where is button RELATION VIEW in PHPADMIN 's WAMP
Posted by: yfastud (Moderator)
Date: September 22, 2011 02:12AM


Options: ReplyQuote


Sorry, only registered users may post in this forum.