MySql deactivated
Posted: 30. November 2011 00:29
We are setting up a portable PHP/MySql learning environment for a class at our school and elected to use xampp lite.
The idea was to give each student a USB drive with xampp installed...
To make things very easy to start off I have made a relative shortcut in the USB drives root so the students do not have to open the xampp folder to get started...
I did this by creating a bat file just containing the following line:
..and used 'bat to exe Converter' to make this a relative shortcut in the USB drive root
Selected 'Invisible Application' option to suppress console as '-console supress' did not work...
The problem I have is that when starting xampps with this shortcut it will not start MySql...
The xampp-control window says:
but, the 'Running' indicator does not show and the start/stop box stays on 'start'
when I check in Localhost - status it says:
What have I missed?
The idea was to give each student a USB drive with xampp installed...
To make things very easy to start off I have made a relative shortcut in the USB drives root so the students do not have to open the xampp folder to get started...
I did this by creating a bat file just containing the following line:
xampp\xampp-control.exe
..and used 'bat to exe Converter' to make this a relative shortcut in the USB drive root
Selected 'Invisible Application' option to suppress console as '-console supress' did not work...
The problem I have is that when starting xampps with this shortcut it will not start MySql...
The xampp-control window says:
MySql started [Port 3306]
but, the 'Running' indicator does not show and the start/stop box stays on 'start'
when I check in Localhost - status it says:
MySQL database DEACTIVATED
What have I missed?