Matt Robinson d9c035edb1
docs: no more bricks (#1967)
### Summary

We no longer use the "bricks" terminology for partioning functions, etc
in the library. This PR updates various references to bricks within the
repo and the docs. This is just an initial pass to swap the terminology
out, it'll likely be helpful to reorganize the docs a bit as well.

---------

Co-authored-by: qued <64741807+qued@users.noreply.github.com>
Co-authored-by: ryannikolaidis <1208590+ryannikolaidis@users.noreply.github.com>
2023-11-02 09:43:26 -05:00
..

Loading unstructured outputs into MySQL

The following example shows how to load unstructured output into MySQL. This allows you to run queries based on metadata that the unstructured library has extracted. Follow the instructions here to install MySQL on your system. If you're using homebrew on Mac, you can install MySQL with brew install mysql.

Once you have installed MySQL, you can connect to MySQL with the command mysql -u root. You can create a non-root user and an unstructured_example database using the following commands:

CREATE USER '<username>'@'localhost' IDENTIFIED BY '<password>';
CREATE DATABASE unstructured_example;
GRANT ALL PRIVILEGES ON unstructured_example.* TO '<username>'@'localhost';

Running the example

  1. Run pip install -r requirements.txt to install the Python dependencies.
  2. Run `jupyter-notebook to start.
  3. Run the load-into-mysql.ipynb notebook.