I have phpMyAdmin 3.4.2 setup on a Windows 7 system. And following versions of PHP and Mysql are installed -
- PHP Version 5.3.6
- mysqlnd 5.0.8-dev - 20102224 - $Revision: 308673 $ (appears in the Client API version section of phpinfo())
The section Currently phpMyAdmin can: in the PMA documentation (following the documentation link of my PMA installation) displays the following-
- create PDF graphics of your Database layout
Which means PDF graphics is viewing is supported in the version I am using.
But I am not able to see any option in the PMA UI to visualize the Db architecture. I made a fresh db, created two tables and added a foreign key constraint linking these two tables. Where does the option/tab to visualize appear?
What am I missing? Any ideas?
Thanks
Update
Following are the dbs present -
show databases; ->
+--------------------+
| Database |
+--------------------+
| information_schema |
| lab |
| mysql |
| openx |
| test |
+--------------------+
Further Update
I executed the create_tables.sql file successfully and saw a new table phpmyadmin created, having 10 tables, i.e. pma_pdf_pages etc. Then I followed config storage doc. I was not having any config.inc.php. I renamed the config.sample.inc.php to config.inc.php, verified that the file is being loaded and then uncommented these lines -
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
Still not getting the designer tab.
Update 3
Uncommented all these lines in config file -
/* Storage database and tables */
$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';
$cfg['Servers'][$i]['tracking'] = 'pma_tracking';
$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
$cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';