]
John Spencer edited comment on FORGE-2635 at 4/5/16 12:26 AM:
--------------------------------------------------------------
I get the same errors, outputs and warnings for both powershell and the standard cmd line
with and without my modification to PATH ('MySQL' is not recognized as an internal
or external command, operable program or batch file before modification and 7 was
unexpected at this time after modification).
was (Author: misterdee):
I get the same errors, outputs and warnings for both powershell and the standard cmd line
with and without my modification to PATH (MySQL not found and 7 was unexpected at this
time.).
Path needs to be properly escaped
---------------------------------
Key: FORGE-2635
URL:
https://issues.jboss.org/browse/FORGE-2635
Project: Forge
Issue Type: Bug
Components: Init Scripts
Affects Versions: 3.0.1.Final
Environment: Windows 10 x64, MySQL 5.7.11-log MySQL Community Server (GPL)
Reporter: John Spencer
Fix For: 3.x Future
Whenever I start forge I get the following warnings:
{code:java}
'MySQL' is not recognized as an internal or external command,
operable program or batch file.
'MySQL' is not recognized as an internal or external command,
operable program or batch file.
Using Forge at C:\Program Files\JForge-3.01\bin\..
_____
| ___|__ _ __ __ _ ___
| |_ / _ \| `__/ _` |/ _ \ \\
| _| (_) | | | (_| | __/ //
|_| \___/|_| \__, |\___|
|__/
JBoss Forge, version [ 3.0.1.Final ] - JBoss, by Red Hat, Inc. [
http://forge.jboss.org
]
{code}
MySQL path is defined in PATH enviroment variable like ";C:\Program
Files\MySQL\MySQL Server 5.1\bin" and is also recognized by windows when using the
command line. I also defined a variable called MySQL just in case forge would use it
aswell as MYSQL_HOME without any effect.