That's correct.SkyDiver wrote:No I didn't - I understood that running xampp_setup.bat will hardcode a drive letter and will hamper the portability of the installation.
No mention of this portability requirement in your first post - adding drive letters to the paths mentioned in your first post defeats the objective of portability anyway.SkyDiver wrote:Since I want to keep xampp generic so I'll be able to also run it from a disk-on-key, I elected not to run xampp_setup.bat.
Izzy wrote:No mention of this portability requirement in your first post
Izzy wrote:adding drive letters to the paths mentioned in your first post defeats the objective of portability anyway.
Izzy wrote:It is always helpful to tell the full story when posting on these forums including the Windows version, which was also omitted.
First to install XAMPP to any root of any drive requires that setup_xampp.bat file be run to set the paths correctly...I've been really suffering from this one for quite a while: Basically I unzipped xampplite to D:\ and installed mysql as a service via xampp-control.exe.
Running with start/stop wasn't a problem, but once I installed it as a service it went all buggy, issuing "System error 1067 has occurred" over and over again...
...and so it will if installed as per the installation instructions in the readme_en.txt file.xampplite is [supposed to be] designed to work from ANY drive, provided that it's installed directly under the root of the drive...
First to install XAMPP to any root of any drive requires that setup_xampp.bat file be run to set the paths correctly even in the my.cnf file...Well, after A LOT of trial and error, I found out that xampplite/mysql/bin/my.cnf contains several lines similar to the following:
By changing all
occurrences to an absolute path such as this:
I finally got it to work!
So in case you're having similar issues with error 1067 - that's one step in solving the horrid error no. 1067.
...there is a registry entry created by Windows so it knows where to find the app to start as a service when it boots - this is the fact in your first post that you failed to realize and so blamed XAMPP for only recognizing the C:\ drive.NOTE: Investigating a bit deeper I found out that if I have a copy of xampplite under my C:\ root,
then everything will run just fine **from my d:\xampplite installation** even if I don't add the drive letter to "d:/xampplite/mysql", rather leave it like this: "/xampplite/mysql".
Going the extra mile, I then renamed C:\xampplite to something else, and again - everything broke down and I got error 1067 once again.
My conclusion is that when mysql works with non-absolute paths, it implicitly assumes that the active drive is C: and not the current one.
Installed correctly in the first place it would have saved you much wasted time, the developers know that XAMPP is designed to work correctly "out of the box" if a few simple installation instructions are followed and when these instructions are not followed then that is when a user will encounter difficulties and then try all sorts of needless hacks to extricate themselves from the issues that arise, as in your case.This took me DAYS to realize, so I hope it'll save the time for anyone reading this post.
Also - I hope the developers will see this post and take it under consideration in future versions.
readme-en.txt file wrote:[NOTE: Unpack the package to your USB stick or a partition of your choice.
There it must be on the highest level like E:\ or W:\. It will
build E:\XAMPPlite or W:\XAMPPlite or something like this.
Please do not use the "setup_XAMPPlite.bat" for an USB stick installation!]
Step 1: Unpack the package into a directory of your choice. Please start the
"setup_XAMPPlite.bat" and begin the installation.
Users browsing this forum: No registered users and 36 guests