BLOB streaming doc
This commit is contained in:
@@ -69,7 +69,7 @@ vim: expandtab ts=4 sw=4 sts=4 tw=78
|
|||||||
</li>
|
</li>
|
||||||
<li>To support uploading of ZIP files, you need the PHP <tt>zip</tt> extension.</li>
|
<li>To support uploading of ZIP files, you need the PHP <tt>zip</tt> extension.</li>
|
||||||
<li>For proper support of multibyte strings (eg. UTF-8, which is
|
<li>For proper support of multibyte strings (eg. UTF-8, which is
|
||||||
currently default), you should install mbstring and ctype
|
currently the default), you should install the mbstring and ctype
|
||||||
extensions.
|
extensions.
|
||||||
</li>
|
</li>
|
||||||
<li>You need GD2 support in PHP to display inline
|
<li>You need GD2 support in PHP to display inline
|
||||||
@@ -84,6 +84,9 @@ vim: expandtab ts=4 sw=4 sts=4 tw=78
|
|||||||
</li>
|
</li>
|
||||||
<li>To support upload progress bars, see <a href="#faq2_9">
|
<li>To support upload progress bars, see <a href="#faq2_9">
|
||||||
<abbr title="Frequently Asked Questions">FAQ</abbr> 2.9</a>.</li>
|
<abbr title="Frequently Asked Questions">FAQ</abbr> 2.9</a>.</li>
|
||||||
|
<li>To support BLOB streaming, see PHP and MySQL requirements
|
||||||
|
in <a href="#faq6_25">
|
||||||
|
<abbr title="Frequently Asked Questions">FAQ</abbr> 6.25</a>.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><b>MySQL</b> 5.0 or newer (<a href="#faq1_17">details</a>);</li>
|
<li><b>MySQL</b> 5.0 or newer (<a href="#faq1_17">details</a>);</li>
|
||||||
@@ -4306,13 +4309,20 @@ chmod o+rwx tmp
|
|||||||
<h4 id="faq6_25">
|
<h4 id="faq6_25">
|
||||||
<a href="#faq6_25">6.25 How does BLOB streaming work in phpMyAdmin?</a></h4>
|
<a href="#faq6_25">6.25 How does BLOB streaming work in phpMyAdmin?</a></h4>
|
||||||
|
|
||||||
<p> First, for general information about BLOB streaming on MySQL, visit <a href="http://blobstreaming.org">blobstreaming.org</a>. We currently support streaming if you are running MySQL 5.1 with the PBXT and PBMS storage engines. Moreover, only PBMS 0.5.04 is supported.</p>
|
<p> For general information about BLOB streaming on MySQL, visit <a href="http://blobstreaming.org">blobstreaming.org</a>. You need the following components:</p>
|
||||||
|
<ul>
|
||||||
|
<li>PBMS BLOB Streaming Daemon for MySQL (0.5.15 or later)</li>
|
||||||
|
<li>Streaming enabled PBXT Storage engine for MySQL (1.0.11-6 or
|
||||||
|
later)</li>
|
||||||
|
<li>PBMS Client Library for MySQL (0.5.15 or later)</li>
|
||||||
|
<li>PBMS PHP Extension for MySQL (0.1.1 or later)</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>Here are details about configuration and operation:</p>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>In <tt>config.inc.php</tt> your host should be defined with a FQDN (fully qualified domain name) instead of something like "localhost".</li>
|
<li>In <tt>config.inc.php</tt> your host should be defined with a FQDN (fully qualified domain name) instead of "localhost".</li>
|
||||||
<li>A current limitation is that your first login via phpMyAdmin to a freshly-started server must be done with an account that has the SUPER privilege.</li>
|
<li>Ensure that your target table is under the PBXT storage engine and has a LONGBLOB column and a primary key.</li>
|
||||||
<li>On your target database, go to Operations and in the "BLOB Repository" section, click "Enable". This creates the PBMS system tables inside your database.</li>
|
|
||||||
<li>Ensure that your target table is under the PBXT storage engine and has a LONGBLOB column.</li>
|
|
||||||
<li>When you insert or update a row in this table, put a checkmark on the "Upload to BLOB repository" optional choice; otherwise, the upload will be done directly in your column instead of the repository.</li>
|
<li>When you insert or update a row in this table, put a checkmark on the "Upload to BLOB repository" optional choice; otherwise, the upload will be done directly in your column instead of the repository.</li>
|
||||||
<li>Finally when you browse your table, you'll see in your column a link to stream your data, for example "View image". A header containing the correct MIME-type will be sent to your browser; this MIME-type was stored at upload time but in case it's incorrect, it's possible to edit it by clicking on the displayed MIME-type.</li>
|
<li>Finally when you browse your table, you'll see in your column a link to stream your data, for example "View image". A header containing the correct MIME-type will be sent to your browser; this MIME-type was stored at upload time but in case it's incorrect, it's possible to edit it by clicking on the displayed MIME-type.</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
Reference in New Issue
Block a user