Summernote How To Store Images and Entries in MySQL Without Base 64

In this tutorial, we will show you how to store images and entries in MySQL without base 64 encoding. Base 64 encoding will bloat your database. The way I show you how to do it here will not bloat your database. You can download summernote here, however you do not need to download it for this tutorial.

Summernote

In a previous post, I wrote some scripts that will upload your images to a folder immediately when dragged into the Summernote editor. What I did not include was the scripts to upload it to the upload folder and database. Let’s get started.

Setting Up MySQL for Summernote Entries

The first thing that you need to do, set up your MySQL database. Download this database file here. Bring up your PhpMyAdmin and select “import” then choose the file and upload it. I have some values entered into this database to get you started.

phpmyadmin mysql for summernote

phpmyadmin mysql for summernote import

importing into mysql

Now go to the next page to set up the files.

Summernote How To Store Images and Entries in MySQL Without Base 64 was last modified: August 25th, 2022 by Maximus Mccullough

Summary
Summernote How To Store Images and Entries in MySQL Without Base 64
Article Name
Summernote How To Store Images and Entries in MySQL Without Base 64
Description
In this tutorial, we will show you how to store images and entries in MySQL without base 64 encoding. Base 64 encoding bloats your database
Author
Publisher
A1WEBSITEPRO LLC
Logo
Summernote How To Store Images and Entries in MySQL Without Base 64

Pages: 1 2 Next

Leave a Reply

Your email address will not be published. Required fields are marked *