1. First log in to navicat for mysql to the specified database.
2. Create a test table:
CREATE TABLE test (ID INT, PHOTO varchar(1000))
where photo is the picture field.
Related recommendations: "Navicat for mysql graphic tutorial"
3. Find the newly created table in the tree on the left and right-click to open it.
#4. Add data and click the "Image" button above when adding it to the image field.
5. Click the load button below, find the image path and add it.
#6. Close after adding.
The above is the detailed content of How to add pictures to database navicat. For more information, please follow other related articles on the PHP Chinese website!