Old:Bugs 3.5-Apollo: Close bat: Difference between revisions
m Protected "Bugs 3.5-Apollo: Close bat" [edit=sysop:move=sysop] |
m BobS moved page Bugs 3.5-Apollo: Close bat to Old:Bugs 3.5-Apollo: Close bat without leaving a redirect |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Uc nav 3.5 bugs}} | |||
{ | |||
{ | |||
'''''Close.bat''''' | '''''Close.bat''''' | ||
== Bug fix: Pick-up MySQL root password == | |||
== Bug fix | |||
File: '''Close.bat'''<br> | File: '''Close.bat'''<br> | ||
Location: '''*\Uniform Server\udrive\home\admin\program''' | Location: '''*\Uniform Server\udrive\home\admin\program''' | ||
'''Problem:''' This script shuts down the MySQL server and removes virtual drive created. When MySQL root password is changed this script fails to pick it up and server remains running. | '''Problem:''' This script shuts down the MySQL server and removes the virtual drive created. When MySQL root password is changed this script fails to pick it up and server remains running. | ||
'''Solution:''' Copy MySQL password from file mysql_password into a variable and use that to shut down the server. | '''Solution:''' Copy MySQL password from file mysql_password into a variable and use that to shut down the server. | ||
Note '''''pushd''''' is required to define a new reference (where this script is located) | Note: '''''pushd''''' is required to define a new reference point for Windows (where this script is located), otherwise it will use the location of the calling script. After the script has run, the original location of the calling script is restored by '''''popd'''''. | ||
{| cellpadding="2" cellspacing="1" style="background:#000000;" | {| cellpadding="2" cellspacing="1" style="background:#000000;" | ||
Line 86: | Line 66: | ||
See above. | See above. | ||
---- | ---- | ||
Line 94: | Line 73: | ||
|} | |} | ||
[[Category: Archive]] | |||
[[Category: |