首页 >数据库 >mysql教程 >turn on 'xp_cmdshell'

turn on 'xp_cmdshell'

WBOY
WBOY原创
2016-06-07 14:57:171008浏览

SQLServerblockedaccesstoproceduresys.xp_cmdshellofcomponentxp_cmdshellbecausethiscomponentisturnedoffaspartofthesecurityconfigurationforthisserver.Asystemadministratorcanenabletheuseofxp_cmdshellbyusingsp_configure. Refer:http://msdn.micros

SQL Server blocked access to procedure 'sys.xp_cmdshell' of component 'xp_cmdshell' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'xp_cmdshell' by using sp_configure.

Refer:  http://msdn.microsoft.com/en-us/library/ms190693(SQL.90).aspx

源码与演示:源码出处

use master
go
sp_configure 'show advanced options',1
reconfigure with override
go
sp_configure 'xp_cmdshell', 1
reconfigure with override
go
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn