I am running XAMPP from a USB drive, everything works fine when I go into the drive via "My Computer" and click on the xampp_start.exe file.
I run into a problem when I try and setup autorun. First of all, and this is a separate issue but if anyone can help please do, the autostart I get is not a true autostart, the user has to select and action to continue (in this case it is the launch action I have supplied).
My batch file simply contains this code:
- Code: Select all
start \Moodle4Windows\xampp_start.exe /WAIT
The problem is when you autorun, the MySQL server does not seem to start, Apache comes through fine but I get a file not found message in XAMPP's console window, then the web page loads with a database error (cannot find the database).
Does anyone know what this may be.
One thing I am wondering about is if the XAMPP_start file is responsible for starting the MySQL server (I assume it is).
Any help is greatly appreciated.