Quantcast
Channel: MySQL Forums - NDB clusters
Viewing all articles
Browse latest Browse all 1562

Urgent ..Load_file in mysql (no replies)

$
0
0
i wish to store an xml file in my mysql database xml and table xmldocs.
when i gave

INSERT INTO xmldocs VALUES (1000, LOAD_FILE('/root/NetBeansProjects/xmlProj/india.xml'), 'facts about India');

Error code 1048, SQL state 23000: Column 'doc_content' cannot be null
Line 2, column 1

I m sure the path is right.What should i do for the database to store the file?

Viewing all articles
Browse latest Browse all 1562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>