通过MySQL命令行直接上传图像 [英] Upload image directly through mySQL Command Line

查看:71
本文介绍了通过MySQL命令行直接上传图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在mySQL中有一个特定的表,该表具有一个名为"image"且数据类型为"BLOB"的字段.我想知道是否可以直接从命令行客户端而不是通过php上传该字段中的图像...如果可能,那么我应该将图像文件放在哪里?

I have a certain table in mySQL which has a field called "image" with a datatype of "BLOB". I was wondering if it is possible to upload an image in that field directly from the Command Line Client rather than doing it through php...If it is possible, then where exactly should I place my image files?

推荐答案

尝试使用有关文件名,特权等路径的要求,请参见手册.

See the manual for requirements about the path to the filename, privileges, etc.

这篇关于通过MySQL命令行直接上传图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆