Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.11
-
None
Description
After reinstall on Windows 11, got following error running
perl mysql-test-run.pl --suite=main main.mysql_connector_net
CURRENT_TEST: main.mysql_connector_net
File C:\work\10.11\mysql-test\main\mysql_connector_net.ps1 cannot be loaded because running scripts is disabled on
|
this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
|
+ CategoryInfo : SecurityError: (:) [], ParentContainsErrorRecordException
|
+ FullyQualifiedErrorId : UnauthorizedAccess
|
mysqltest: At line 7: command "powershell -NoLogo -NoProfile -File main\mysql_connector_net.ps1" failed with wrong error: 1
|
There is a thing for powershell, called script execution policy. On most developers boxes local scripts won't be restricted, but on "virgin" client Windows it is is restricted, i.e interactive execution in powershell is allowed, while script execution is not.