我可以将 LogParser 2.2 导出到 MySQL 吗?

发布于 2024-08-27 17:03:50 字数 65 浏览 5 评论 0原文

我有一个使用 MySQL 数据库运行的 IIS 站点。有没有办法让 logparser 导出到 MySQL 数据库?

I've got an IIS site running with a MySQL db. Is there a way to get logparser to export into a MySQL database?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

む无字情书 2024-09-03 17:03:50

由于 LogParser 可以输出 CSV 并且大多数数据库应该能够从 CSV 文件导入,因此这应该是可能的。我对 MySQL 不太熟悉,但我在 iss.net 论坛上找到了一个讨论如何执行此操作的线程:

http://forums.iis.net/t/1166385.aspx

"...尝试...将数据输出为 CSV,然后使用 MYSQLIMPORT 将数据导入 MySQL。"

Since LogParser can output CSV and most databases should be able to import from a CSV file, this should be possible. I'm not that familiar with MySQL but I found a thread on the iss.net forums which discusses how to do this:

http://forums.iis.net/t/1166385.aspx

"...try... outputting data as CSV and then using MYSQLIMPORT to get the data into MySQL."

你げ笑在眉眼 2024-09-03 17:03:50

“SQL”输出格式将结果转储到任何 ODBC 兼容的数据库。您可以使用以下命令查看其选项:

LogParser -h -o:SQL

The "SQL" output format dumps results to any ODBC-compatible database. You can see its options by using the following command:

LogParser -h -o:SQL
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文