When I start XAMPP from a console window with the command "/opt/lampp/lampp start", everything starts up ok.
But I created a menu shortcut that executes that command. When I use that shortcut, Apache always starts, but sometimes MySQL doesn't start. When that happens, using the shortcut a second time seems to get MySQL to start.
Can you think of any reason for that? Do you think adding a time delay, e.g. "sleep 5", in the lampp script before starting MySQL might help?
Or if you have any suggestions on how I might diagnose the problem, that would be helpful.
If there are no new messages it's hardly looks like MySQL didn't even try to start at all. I'm not sure about your K menu item. I never used this way to start XAMPP so I don't have any experiences about it.
May be you can add a > /tmp/xamppstart.log 2>&1 at the end of the "Command" field (see your screen shot at the mepis lovers forum).
And if the problem reoccurs look into /tmp/xamppstart.log. Maybe there are some hints what's going wrong.
PS: I'm not sure if > ... 2>&1 is allowed to use in the command field. If XAMPP does not start any more please remove it again.
Since you don't use a menu shortcut, how do you normally start XAMPP? Do you open a console window and type the command "/opt/lampp/lampp start"? I guess I'm spoiled by Windows, and am used to clicking on shortcuts.