<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Development Blog &#187; phpmyadmin</title>
	<atom:link href="http://www.web-development-blog.com/archives/tag/phpmyadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.web-development-blog.com</link>
	<description>Web development tutorials, SEO articles and PHP script resources</description>
	<lastBuildDate>Sun, 25 Jul 2010 14:38:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>More advanced features in phpMyAdmin</title>
		<link>http://www.web-development-blog.com/archives/more-advanced-features-in-phpmyadmin/</link>
		<comments>http://www.web-development-blog.com/archives/more-advanced-features-in-phpmyadmin/#comments</comments>
		<pubDate>Mon, 12 May 2008 13:43:33 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[PHP scripts]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[blob]]></category>
		<category><![CDATA[MIME]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.web-development-blog.com/archives/more-advanced-features-in-phpmyadmin/</guid>
		<description><![CDATA[This is part two of the article &#8220;Database management with phpMyAdmin&#8221; a review of the book &#8220;Mastering phpMyAdmin&#8221; and the open source software phpMyAdmin. The PMA relational system In MySQL there is no native function to create relations between several database tables. Using the InnoDB database type makes it possible to link with foreign keys [...]]]></description>
			<content:encoded><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p>This is part two of the article &#8220;<a href="http://www.web-development-blog.com/archives/database-management-with-phpmyadmin/">Database management with phpMyAdmin</a>&#8221; a review of the book &#8220;<a href="http://www.packtpub.com/phpmyadmin-3rd-edition/book/mid/300908y6v6we" rel="nofollow">Mastering phpMyAdmin</a>&#8221; and the open source software phpMyAdmin.</p>
<h3>The PMA relational system</h3>
<p>In MySQL there is no native function to create relations between several database tables. Using the InnoDB database type makes it possible to link with foreign keys and in the latest versions there are stored procedures available to create or handle relations (and other intelligence) inside the database. PMA has great features to create relations while working on data within  the system, Yes the limit is for transactions within PMA, if you need relations within your own application you need to create them by yourself, all relational data created by PMA is stored as PMA meta data. The relational system is not enabled by default, setup scripts (table creation statements) are located in the  scripts sub-directory. Execute them within PMA and change your configuration file to fit your database structure:</p>
<p><code>$cfg['Servers'][$i]['pmadb']           = 'phpmyadmin';<br />
$cfg['Servers'][$i]['bookmarktable']   = 'pma_bookmark';<br />
$cfg['Servers'][$i]['relation']        = 'pma_relation';<br />
$cfg['Servers'][$i]['table_info']      = 'pma_table_info';<br />
$cfg['Servers'][$i]['table_coords']    = 'pma_table_coords';<br />
$cfg['Servers'][$i]['pdf_pages']       = 'pma_pdf_pages';<br />
$cfg['Servers'][$i]['column_info']     = 'pma_column_info';<br />
$cfg['Servers'][$i]['history']         = 'pma_history';</code></p>
<p>After the configurations are done, you get new features in your PMA installation. Note there is also a better support for relations using the foreign key feature while using the InnoDB database type.<span id="more-137"></span></p>
<h3>SQL validator</h3>
<p>I used PMA with the MySQL errors for debugging in the past, that was for me some easy way to test SQL statement and find SQL errors very fast. In PMA its also possible to use the &#8220;<a href="http://developer.mimer.com/validator/index.htm">Mimer SQL validator</a>&#8220;, using this validator your SQL statement is test again the Core SQL-99 rules and gives a report. Note that you need your server needs support for XML, PCRE and PEAR.</p>
<h3>Multi table query generator</h3>
<p>I tried this generator a few years ago and never used it really. Using the book it&#8217;s very easy to understand and maybe you like to play with that feature for a while. I don&#8217;t advice this kind of query generators because of risk of loosing your knowledge in SQL programming. A beginner could use that the generator to learn basic JOIN statements.</p>
<h3>Bookmark successful queries</h3>
<p>You know the situation that you have to execute a SQL statement once a in period and you save that code in your own file of often used SQL statements. PMA has some nice feature to store these queries in a kind of bookmark file. Note that you need to install the relational feature to store the bookmarks (meta information). The following extras are available with the bookmark feature:</p>
<ul>
<li> Storing bookmarks before sending a query</li>
<li> multi query bookmarks</li>
<li> bookmark manipulation using variables</li>
<li> default query for each table</li>
</ul>
<h3>Building relational schemas in PDF</h3>
<p>After building relations in MySQL it&#8217;s very useful to print these linked database table structure on paper. PMA has a compete editor interface to show the table structure using your own positions.</p>
<h3>MIME-Based transformations</h3>
<p>for those people using PMA to maintain the full database (like a CMS) is this feature: MIME-Based Transformations. With this feature its possible to create some &#8220;Intelligence&#8221; for table columns to transform BLOB data into images, text into clickable URLs, date formatting&#8230; Note that the GD library is required to show Images with this feature.</p>
<h3>Character Sets and Collations</h3>
<p>Since MySQL version 4.1.x and later it&#8217;s possible to store data with collations in a database table. This way data with special characters like &#8220;á&#8221; or &#8220;ö&#8221; are comparable with &#8220;normal&#8221; characters. PMA has full support for collations since version 2.6.</p>
<p>If you use data which includes special characters you should use the right &#8220;effective&#8221; character set otherwise the data is not displayed the right way.</p>
<p>There are many more feature in PMA like described here. If you read the book &#8220;<a href="http://www.packtpub.com/phpmyadmin-3rd-edition/book/mid/300908y6v6we" rel="nofollow">Mastering phpMyAdmin for Effective MySQL Management&#8221;</a> you get a better idea on all of them.<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.web-development-blog.com/archives/database-management-with-phpmyadmin/" rel="bookmark" title="May 12, 2008">Database Management with phpMyAdmin</a></li>
<li><a href="http://www.web-development-blog.com/archives/upload-images-for-usage-in-tinymce/" rel="bookmark" title="September 25, 2008">Upload images for usage in TinyMCE</a></li>
<li><a href="http://www.web-development-blog.com/archives/save-bandwidth-with-phproxy-and-ip2nation/" rel="bookmark" title="May 30, 2007">Save bandwidth with PHProxy and ip2nation</a></li>
</ul>
<p><!-- Similar Posts took 3.153 ms --></p>
<div style="clear:both;">&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.web-development-blog.com/archives/more-advanced-features-in-phpmyadmin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Database Management with phpMyAdmin</title>
		<link>http://www.web-development-blog.com/archives/database-management-with-phpmyadmin/</link>
		<comments>http://www.web-development-blog.com/archives/database-management-with-phpmyadmin/#comments</comments>
		<pubDate>Mon, 12 May 2008 13:41:37 +0000</pubDate>
		<dc:creator>Olaf</dc:creator>
				<category><![CDATA[PHP scripts]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[book review]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[pma]]></category>

		<guid isPermaLink="false">http://www.web-development-blog.com/archives/database-management-with-phpmyadmin/</guid>
		<description><![CDATA[This is part one of the quick review of the book &#8220;Mastering phpMyAdmin for Effective MySQL Management&#8221; and the phpMyAdmin software. This article/review is not just another review about phpMyAdmin, but more some information about features I haven&#8217;t used during the last years of PHP/MySQL web development. About phpMyAdmin PMA is a full featured tool [...]]]></description>
			<content:encoded><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p>This is part one of the quick review of the book &#8220;<a rel="nofollow" href="http://www.packtpub.com/phpmyadmin-3rd-edition/book/mid/300908y6v6we">Mastering phpMyAdmin for Effective MySQL Management&#8221;</a> and the phpMyAdmin software.</p>
<blockquote><p>This article/review is not just another review about phpMyAdmin, but more some information about features I haven&#8217;t used  during the last years of PHP/MySQL web development.</p></blockquote>
<h3>About phpMyAdmin</h3>
<p>PMA is a full featured tool to administrate your MySQL database server via a web browser. While the functions are almost unlimited, it&#8217;s also a powerful tool to maintain the database content even for less experienced users.</p>
<p><img style="float: left; margin-right: 5px" src="http://www.web-development-blog.com/wp-content/uploads/2008/05/5113g6ddtjl_sl110_.jpg" alt="Mastering phpMyAdmin" />It&#8217;s already a year ago (or more) that I got the book &#8220;<a rel="nofollow" href="http://www.packtpub.com/phpmyadmin-3rd-edition/book/mid/300908y6v6we">Mastering phpMyAdmin&#8221;</a> as a present/reward for contributing some snippets on weberdev.com. Finally I found the time to read (most of) the book during a vacation. The book is great for webmasters using phpMyAdmin (PMA) the first time and also more advanced users. The book covers the installation, basic database interactions using PMA like simple INSERT or SELECT commands and also advanced features like the relational system provided by the <a href="http://www.phpmyadmin.net/">phpMyAdmin software</a>.<span id="more-136"></span></p>
<p>More advanced user should read the book to learn more about:</p>
<ul>
<li> Changing the configuration fies to customize your current installation</li>
<li> how to handle binary data inside phpMyAdmin</li>
<li> saving export files on the server</li>
<li> better understanding on how-to import CSV files</li>
<li> complete database search</li>
<li> the PMA relational system</li>
<li> using the Mimer SQL validator</li>
<li> better understanding of the multi table query generator</li>
<li> using bookmarks for frequent used queries</li>
<li> building relational schema in PDF</li>
<li> mime based transformations</li>
<li> character sets and collations</li>
</ul>
<p>While the book is published in 2004 (I see it was time for me to read), the descriptions and screen-shot are actual enough to translate the book information into the users work with the current version of phpMyAdmin.</p>
<h3>The Installation part</h3>
<p>I remember me my first installation of phpMyAdmin, the hardest part was to enter some configuration of paths and database connection parameters. The book shows clear information about<br />
basic installation (one user with one database)</p>
<ul>
<li> Multi server installation</li>
<li> Multiuser installation</li>
<li> restricting access to phpMyAdmin by IP and/or user</li>
</ul>
<p>Sure over the years an experienced user will discover all types of installations, but using this book the user gets a better understanding of features like authentication types or Multi use/server configuration. I must say that the user restriction function in PMA are new to me, sure I didn&#8217;t needed them before. Restrict the access by IP address to allow access only in your companies network, this way a .htaccess user protection is more safe because you are able to control the access from outside of your network!</p>
<h3>The Interface and basic database interactions</h3>
<p>The PMA interface is very self-describing, I found a nice feature for people working with multiple databases accessed by the same user. The nested display  will show tables for each database without selecting a different database.<br />
Do you know the vertical mode for editing multiple records? with setting the configuration value <strong>$cfg['DefaultPropDisplay']</strong> to &#8220;vertical&#8221; the records are arranged in vertical order. A great feature if you edit 2-3 records the same time.<br />
While contributing to <a href="http://www.finalwebsites.com/forums/">PHP forums</a> I noticed often question about database fields from the &#8220;Blob&#8221; type. Sure it&#8217;s not a really good idea to store binary data inside a database, this book will give some useful guidance to store and read this type of content.</p>
<h3>Import and export of data</h3>
<p>Exporting content or complete database tables is a very common function in PMA, but do you noticed the export function even for results based on queries? I got this question very often: &#8220;could you send me just these data from that table?&#8221;, most of the time they got the whole table because it was much faster to export, Or better why not exporting single records from a complete result set?<br />
Another useful feature is to export to the server, this function is available if you configure the safe_dir in your PMA configuration.</p>
<p>For all users on shared hosting platforms is this following feature very useful: By default the upload size and memory limit are very limited. Uploading data import files bigger than 2MB (compressed) could be a problem. The option &#8220;upload_dir&#8221; will help. Create one central folder and upload your import files via FTP, after then select the file from the select box on the import screen.</p>
<h3>Searching and selecting data</h3>
<p>Do you ever noticed the feature &#8220;database search&#8221;? Just access the search tab (without selecting a database table) and search for data using wild cards, an exact phrase or regular expressions get results from your whole database.</p>
<p>This was part one of the PMA / book review, if you like to read more about the <em>relational system, bookmarks and MIME-based transformations</em> subscribe to this  blog post.<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.web-development-blog.com/archives/more-advanced-features-in-phpmyadmin/" rel="bookmark" title="May 12, 2008">More advanced features in phpMyAdmin</a></li>
<li><a href="http://www.web-development-blog.com/archives/save-bandwidth-with-phproxy-and-ip2nation/" rel="bookmark" title="May 30, 2007">Save bandwidth with PHProxy and ip2nation</a></li>
<li><a href="http://www.web-development-blog.com/archives/create-custom-website-backups-using-cron/" rel="bookmark" title="October 17, 2009">Create custom website backups using CRON</a></li>
</ul>
<p><!-- Similar Posts took 3.283 ms --></p>
<div style="clear:both;">&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.web-development-blog.com/archives/database-management-with-phpmyadmin/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->