Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在mysql数据库中插入一个img文件,任何人都可以提供将blob插入mysql数据库的正常插入语句。我怎么能做到这一点,就好像我指定了它只存储路径而不是 img 的路径
试试这个LOAD_FILE()功能。
LOAD_FILE()