<?xml version="1.0" encoding="UTF-8" ?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Posteet: designer</title> 
    <link>http://www.posteet.com/</link> 
    <description>Recent posteets posted to Posteet</description>
    <ttl>60</ttl>

    
    <item>
        <title>Enable PHPMyAdmin Designer mode (diagrams to show relationships between tables)</title>
        <link>http://www.posteet.com/view/545</link>
        <description>
        <![CDATA[<pre>Go to /path/to/phpmyadmin/config.inc.php (or something similar)

Change these settings:

$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = 'yourpass';

(don't forget to give user pma a password otherweise people can easily see your table design info) 

/////////////////////////////////////////////////////////////////////////////////

Now change the names of the databases like beneath (note that table names are case sensitive, use lower pma):

$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]['designer_coords'] = 'pma_designer_coords';

/////////////////////////////////////////////////////////////////////////

As final you must run a SQL script that you can find in:

/path/to/phpmyadmin/scripts/create_tables_mysql_4_1_2+.sql
simply execute this sql with the phpmyadmin import function and it will create phpmyadmin database and tables defined above.

DESIGNER MODE IS NOW AVAILABLE</pre> <a href="http://www.posteet.com/tags/designer">[designer]</a>  <a href="http://www.posteet.com/tags/diagrams">[diagrams]</a>  <a href="http://www.posteet.com/tags/mysql">[mysql]</a>  <a href="http://www.posteet.com/tags/phpmyadmin">[phpmyadmin]</a>  <a href="http://www.posteet.com/tags/relationship">[relationship]</a>  <a href="http://www.posteet.com/tags/tables">[tables]</a> ]]>        </description>
        <dc:creator>spirit</dc:creator>
        <pubDate>Tue, 04 Dec 2007 15:56:43 +0000</pubDate>

            <category>designer</category>
            <category>diagrams</category>
            <category>mysql</category>
            <category>phpmyadmin</category>
            <category>relationship</category>
            <category>tables</category>
    
    </item>


</channel>
</rss>
