487
edits
mNo edit summary |
(Punctuation and grammatical changes; moved to Category: Archive.) |
||
Line 1: | Line 1: | ||
{{Uc nav 3.5 bugs}} | {{Uc nav 3.5 bugs}} | ||
'''Disk Start.vbs''' | '''Disk Start.vbs''' | ||
== Bug fix | == Bug fix: Stop database from starting when using Disk Start.vbs == | ||
File: '''Disk Start.vbs'''<br> | File: '''Disk Start.vbs'''<br> | ||
Location: '''*\Uniform Server''' | Location: '''*\Uniform Server''' | ||
'''Problem:''' MySQL server runs even after clicking the option not to run.<br> | '''Problem:''' MySQL server runs even after clicking the option not to run.<br> | ||
'''Solution:''' | '''Solution:''' Edit the file as follows: | ||
{| cellpadding="2" cellspacing="1" style="background:#000000;" | {| cellpadding="2" cellspacing="1" style="background:#000000;" | ||
Line 34: | Line 34: | ||
|} | |} | ||
This solution although it is correct the script will not work!<br> | This solution, although it is correct, the script will not work!<br> | ||
There is a bug in Server_Start.bat; parameter %2 is not checked.<br> | There is a bug in Server_Start.bat; parameter %2 is not checked.<br> | ||
If %2 is reinstated in Server_Start.bat the above script needs to pass the correct parameters as follows: | If %2 is reinstated in Server_Start.bat, the above script needs to pass the correct parameters as follows: | ||
{| cellpadding="2" cellspacing="1" style="background:#000000;" | {| cellpadding="2" cellspacing="1" style="background:#000000;" | ||
|- style="background:#e8e8e8;" | |- style="background:#e8e8e8;" | ||
Line 53: | Line 53: | ||
== Alternative Solution == | == Alternative Solution == | ||
I have hacked the beta script around resolving issues mentioned above. In addition added two enhancements auto detection of first free drive letter and option to run a command prompt. | I have hacked the beta script around resolving issues mentioned above. In addition I added two enhancements: auto detection of first free drive letter and option to run a command prompt. | ||
'' | '' | ||
'''Note:''''' For this script to run correctly '''Server_Start.bat''' must be updated as described on [[Bugs 3.5-Apollo: Server_Start_bat | this page]]. | '''Note:''''' For this script to run correctly, '''Server_Start.bat''' must be updated as described on [[Bugs 3.5-Apollo: Server_Start_bat | this page]]. | ||
Problem: MySQL server runs even after clicking the option not to run.<br> | Problem: MySQL server runs even after clicking the option not to run.<br> | ||
Line 118: | Line 118: | ||
Download this file [http://wiki.uniformserver.com/exeload/bugs35apollo/disk_start.vbs.txt disk_start.vbs.txt] save it as '''disk_start.vbs''' copy to folder Uniform Server. | Download this file [http://wiki.uniformserver.com/exeload/bugs35apollo/disk_start.vbs.txt disk_start.vbs.txt] save it as '''disk_start.vbs''' copy to folder Uniform Server. | ||
Note: This will not overwrite any files | Note: This will not overwrite any files. Use as is or rename it to '''Disk Start.vbs''' | ||
== Forum reference == | == Forum reference == | ||
Line 128: | Line 128: | ||
See '''alternative solution''' above. | See '''alternative solution''' above. | ||
---- | ---- | ||
Line 136: | Line 135: | ||
|} | |} | ||
[[Category: Archive]] | |||
[[Category: |