View previous topic :: View next topic |
Author |
Message |
sheldie
Joined: 09 Jan 2005 Posts: 3
|
Posted: Fri Apr 01, 2005 13:53 Post subject: NWNX and MySQL Server reboot |
|
|
We've just started using the ODBC2 functionality with NWNX and found that when our server oes a complete re-boot (ie, the machine shutsdown and then restarts), NWNX loads before MySQL does. This is causing ODBC2 to report a no connection state.
Are there any tricks to stop NWNX from loading too quickly?
Thanks,
Sheldon. |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Fri Apr 01, 2005 22:57 Post subject: |
|
|
This is nothing more than a workaround, but what about the following: Create a batch file that has these lines in it:
@echo off
sleep 60
c:\nwn\nwnx.exe parameter1 parameter2 ....
This would wait 1 minute before it loads nwnx, giving mysql enough time to come up. If you have set your system up to somehow use services, there is a way to make a service depend on another - but I do know how from the top of my head. _________________ Papillon |
|
Back to top |
|
|
princewally
Joined: 29 Dec 2004 Posts: 9
|
Posted: Mon Apr 04, 2005 14:44 Post subject: |
|
|
If you install MySQL to run as a service, and put the shortcut to NWNX in your startup folder, MySQL will start first. |
|
Back to top |
|
|
sheldie
Joined: 09 Jan 2005 Posts: 3
|
Posted: Mon Apr 04, 2005 16:08 Post subject: |
|
|
Papillon wrote: | This is nothing more than a workaround, but what about the following: Create a batch file that has these lines in it:
@echo off
sleep 60
c:\nwn\nwnx.exe parameter1 parameter2 ....
This would wait 1 minute before it loads nwnx, giving mysql enough time to come up. If you have set your system up to somehow use services, there is a way to make a service depend on another - but I do know how from the top of my head. |
Thanks, that is what I had thought of, just thought there might be something more eleigent. |
|
Back to top |
|
|
sheldie
Joined: 09 Jan 2005 Posts: 3
|
Posted: Mon Apr 04, 2005 16:09 Post subject: |
|
|
princewally wrote: | If you install MySQL to run as a service, and put the shortcut to NWNX in your startup folder, MySQL will start first. |
MySQL is running as a service and NWNX is in the startup folder... |
|
Back to top |
|
|
|