mysql - OTRS SQL 框 "Executing OS Commands"

标签 mysql otrs

如何从 OTRS 管理面板中的 SQL Box 执行操作系统/Windows 命令。我尝试了太多格式,但似乎我在语法中遗漏了一些东西!

OTRS安装在Windows Box上并使用MYSQL作为数据库

提前致谢

最佳答案

您没有与 OTRS 共享您使用的数据库。
MySQL 不允许您从 SQL 语句中执行操作系统命令。

Microsoft SQL Server 确实为您提供了这种可能性,尽管受限于服务帐户的权限:

EXECUTE [master].[dbo].[xp_cmdshell] 'dir c:\otrs'

为此,您的数据库帐户必须具有适当的权限,另请参阅:permission was denied on the object xp_cmdshell

关于mysql - OTRS SQL 框 "Executing OS Commands",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19323447/

相关文章:

php - 如何获取id为0的mysql连接结果

mysql - 没有创建数据库

php - INSERT INTO mysqli 返回非对象

mysql - 获取两个日期之间的天数、小时数和分钟数及其各自的时间戳

mysql - 使用 Mysql 查询的 OTRS

javascript - 在 Titan Appcelator ios 中实现 otr.js?

mysql - Postgresql 模拟 mysql 联合表存储引擎

c# - 已具有此连接的打开的 DataReader

c# - 从 .NET 应用程序使用 OTRS TicketConnector

web-services - OTRS Webservice 作为请求者测试