Hướng dẫn mysql relation view - chế độ xem quan hệ mysql
DIỄN ĐÀN SINH VIÊN CNTT QUẢNG NINH!
When working in XAMPP with phpmyadmin, after creating a table I have the option to click "relation view" after clicking on the structure tab. See below: However anytime when I create a table with my host phpmyadmin, I dont have the option to select "relation view" See below: Is there anyway of enabling this? Currently I have to set up relationships in xampp and export to my host phpmyadmin for it to work. Ariful Islam 7,5357 gold badges34 silver badges54 bronze badges7 gold badges34 silver badges54 bronze badges asked Dec 7, 2011 at 18:00Dec 7, 2011 at 18:00 Change your storage engine to InnoDB by going to Operation answered Sep 11, 2012 at 14:42Sep 11, 2012 at 14:42 HarleyHarleyHarley 1,3661 gold badge10 silver badges3 bronze badges1 gold badge10 silver badges3 bronze badges 1 If it's too late at night and your table is already innoDB and you still don't see the link, maybe is due to the fact that now it's placed above the structure of the table, like in the picture is shown answered Apr 7, 2015 at 18:13Apr 7, 2015 at 18:13 2 first select the table you you would like to make the relation with >> then go to operation , for each table there is difference operation setting, >> inside operation "storage engine" choose innoDB option innoDB will allow you to view the "relation view" which will help you make the foreign key Mureinik 283k51 gold badges290 silver badges327 bronze badges51 gold badges290 silver badges327 bronze badges answered Apr 16, 2014 at 15:06Apr 16, 2014 at 15:06 aishaaishaaisha 2513 silver badges2 bronze badges3 silver badges2 bronze badges 1 Enabling Relation View in phpMyAdmin / MAMP 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.
Source: http://newvibes.com/blog/enabling-relation-view-in-phpmyadmin-mamp/ answered Aug 14, 2015 at 5:26Aug 14, 2015 at 5:26 Meetai.comMeetai.comMeetai.com 6,3563 gold badges30 silver badges37 bronze badges3 gold badges30 silver badges37 bronze badges 1 first ensure that your table storage engine type should be innoDB (you can set it using Table operations Tab) storage engine type should be innoDB (you can set it using Table operations Tab) if you are using new phpmyadmin then use new "Relation view" tab to make foreign key relationnew phpmyadmin then use new "Relation view" tab to make foreign key relation if you are using old version of phpmyadmin then the "relation view" button will show on the bottom of the table columnsold version of phpmyadmin then the "relation view" button will show on the bottom of the table columns answered Dec 11, 2020 at 19:34Dec 11, 2020 at 19:34 Hassan SaeedHassan SaeedHassan Saeed 5,3071 gold badge30 silver badges34 bronze badges1 gold badge30 silver badges34 bronze badges 1 - Change Your tables search engine from 'My ISAM' to 'Inno DB' by Operations tab 2 - you must do this for all tables that you want make relationship between 3 - localhost/phpmyadmin/tbl_relation.php?db=your_database_name&table=your_table_name then replace this url in browser, then you will be able to see the relationship pagelocalhost/phpmyadmin/tbl_relation.php?db=your_database_name&table=your_table_name then replace this url in browser, then you will be able to see the relationship page Đã trả lời ngày 14 tháng 6 năm 2019 lúc 15:11Jun 14, 2019 at 15:11 |