在MySql中存储BUFR文件 [英] Store BUFR files in MySql

查看:84
本文介绍了在MySql中存储BUFR文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


BUFR:天气观测数据的WMO格式

谁知道如何存储它信息MySql?请帮忙~~


感谢百万〜


Tanya。

Hi guys,

BUFR : WMO format for weather observation data
who knows how to store it info MySql ? please help ~~

thanks a million~

Tanya.

推荐答案

Heya,Tanya。


您可以像任何其他文件一样存储BUFR数据。只需在表格中创建一个TEXT列,并确保在放入之前 mysql_real_escape_string()内容它在您的查询中。
Heya, Tanya.

You can store BUFR data just like any other file. Simply create a TEXT column in your table, and be sure to mysql_real_escape_string() the contents before putting it in your query.



Heya,Tanya。


您可以存储BUFR数据像任何其他文件一样。只需在表格中创建一个TEXT列,并确保在放入之前 mysql_real_escape_string()内容它在你的查询中。
Heya, Tanya.

You can store BUFR data just like any other file. Simply create a TEXT column in your table, and be sure to mysql_real_escape_string() the contents before putting it in your query.



感谢首先回答!


这就是我所做的:


thanks for answering first !

this is what I did :

展开 | 选择 | Wrap | 行号


Heya,Tanya。


mysql_real_escape_string()是一个PHP函数,而不是MySQL函数。


另外,您是否尝试将实际文件存储在数据库中,或仅存储到文件的路径?
Heya, Tanya.

mysql_real_escape_string() is a PHP function, not a MySQL function.

Also, are you trying to store the actual file in the database, or just the path to the file?


这篇关于在MySql中存储BUFR文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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