Search found 6536 matches: mysql can't start

Searched query: +mysql +can't +start

Return to advanced search

XAMPP Version 1.8.0 USB Lite {Resolved]

Good afternoon,

I use the launcher from and XAMPP version 1.8.0 USB Lite.
The application opens correctly (run as administrator) and in the control panel (Version 3.0.12)I'm able to see the different services (Apache, MySQL...), but I'm not able to start Apache or MySQL services. They start and stop immediatly.

My operating system is Windows 7 with service pack 1 with all the latest updates, I also install Microsoft Visual C++ 2008 redistributable X86 v9.0.30729 as mentionned in the forum. But still the same situation :cry: .

If someone could help I woul appreciate. Thanks in advance for any suggestions or replies.

Nice day. Regards. :wink:
by Frédéric
01. September 2012 12:39
Forum: XAMPP for Windows
Topic: XAMPP Version 1.8.0 USB Lite {Resolved]
Replies: 3
Views: 1973

Re: 64 bit XAMPP

How to run XAMPP on 64-bit Linux


XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. It comes in 32-bit flavor only but it's easy enough to get it running on 64-bit machines.

Step 1: Install XAMPP (in my case LAMPP) as you would.

wget url-to-xampp-version
tar xvfz xampp-linux-1.7.1.tar.gz -C /opt

If you try to start XAMPP, you should see the folllowing error message :

XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.

Step 2 : Now, the trick is to install the ia32-libs package available on the Ubuntu repositories.

sudo apt-get install ia32-libs

The ia32-libs contains runtime libraries for the ia32/i386

architecture, configured for use on an amd64 or ia64 Debian system running
a 64-bit kernel. In other words, it allows 32-bit codes to run on a 64-bit machine.
by aanavb
31. August 2012 02:23
Forum: XAMPP for Linux
Topic: 64 bit XAMPP
Replies: 12
Views: 163835

Administrator rights [Solved]

I got an error on the XAMPP Control Panel that says "You are not running with administrator rights. This will work for most application stuff but whenever you do something with services there will be a security dialogue or things will break! So think about running this application with administrator rights!"
I uninstalled xampp and reinstalled, getting v1.8.0
I am logged into my computer with administrator rights. I am the only person who has ever logged into this computer. I have always had administrator rights.
I have been using phpmyadmin, MySql, and PHP for a couple of months without problem. Now I can start Apache, but not phpmyadmin.
When I type http://localhost into my browser I get the correct screen but when I click on phpmyadmin I get "#2002 An attempt was made to access a socket in a way forbidden by its access permissions. The server is not responding (or the local server's socket is not correctly configured). Connection for controluser as defined in your configuration failed."
Can anyone help please?
by xamppbill
30. August 2012 14:28
Forum: XAMPP for Windows
Topic: Administrator rights [Solved]
Replies: 7
Views: 22353

Re: Using SQL from Windows XAMPP

basically i alreday did, and it works succesfully. once if you will start to understand the world of file systems properly, i will explain you, what was the problem ;Đ
the bug is in the linux version of mysql (maybe in the windows version too), but i am too lazy fix it at code level and submit a patch to them, so i workarounded it.
by Geri
28. August 2012 12:13
Forum: XAMPP for Linux
Topic: Using SQL from Windows XAMPP
Replies: 8
Views: 6498

Help Cant get xampp 1.8 to run appache

it will start mysql but when clicking start appache it just stays there saying its starting but thats it anyone know what to do
by designpalaceny
27. August 2012 03:19
Forum: XAMPP for Windows
Topic: Help Cant get xampp 1.8 to run appache
Replies: 1
Views: 713

Error 127 Couldn't start Apache & ProFTPD

Hi, I'm wondering if someone would be able to help me out with these error messages please. Heres the console log:

[root@thorntj1 Desktop]# /opt/lampp/lampp start
Starting XAMPP for Linux 1.8.0...
/opt/lampp/bin/php: error while loading shared libraries: cannot enable executable stack as shared object requires: Permission denied
XAMPP: Starting Apache with SSL ...
/opt/lampp/bin/httpd: error while loading shared libraries: cannot enable executable stack as shared object requires: Permission denied
XAMPP: Error 127! Couldn't start Apache!
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum
XAMPP: Starting MySQL...
/opt/lampp/bin/my_print_defaults: error while loading shared libraries: cannot enable executable stack as shared object requires: Permission denied
XAMPP: Couldn't start MySQL!
XAMPP: Starting ProFTPD...
XAMPP: /opt/lampp/sbin/proftpd: error while loading shared libraries: cannot enable executable stack as shared object requires: Permission denied
XAMPP: Error 127! Couln't start ProFTPD!
XAMPP for Linux started

Thanks :)
by PaperMelodies
26. August 2012 13:24
Forum: XAMPP for Linux
Topic: Error 127 Couldn't start Apache & ProFTPD
Replies: 1
Views: 3190

MySQL and Apache not running

I'm trying to run WP locally on my machine. It used to work just fine but it has been several years since I've started it up.

When I open xampp-control.exe and click "start" for Apache and MySQL in the bottom it says "started" for both services but it doesn't say running at the top next to "Apache" and "MySQL". Then, when I go to localhost in my browser I get an error message (Oops! Google Chrome could not connect to localhost or Firefox can't establish a connection to the server at localhost.). What am I doing wrong?

I checked the xampp-portcheck.exe and all ports are free.

Thanks so much in advance.
by Sculley
23. August 2012 17:48
Forum: XAMPP for Windows
Topic: MySQL and Apache not running
Replies: 8
Views: 2792

Dropbox setup - but not relative enough? - RESOLVED

Hi Guys,

Total Xampp newbie here but loving the setup, I have used it a bit a few years back and the easy setup for one computer is amazing.

What I set out to do today though was to get it working in dropbox with wordpress so I could do some local dev work. To do this I used the USB version hoping the preset relative paths would do the trick. I messed around with my computer at work and got it all up and running fine in a dropbox folder and was very excited. The only thing I had to change was to comment out ssl part that I found on here earlier as that was prevent MySQL working.

So all excited about my mobile dev platform I tried it at home, unfortunately when I tried it on my laptop I just couldn't get it working :x

I ran the setup_xampp and it said it was all fine and gave me the correct relative path which is different as my computer at work is on a domain so the user path is different to my home laptop.

When I tried to run apache_start I got an error saying:

httpd.exe: Syntax error on line 35 of C:/Users/Andrew/Dropbox/Private/DevTesting/xampp/apache/conf/httpd.conf: ServerRoot must be a valid directory

So I opened up the conf file in Notepad and edited this down from similar to

ServerRoot "/Users/username.domain/Dropbox/Private/DevTesting/xampp/apache"


ServerRoot "apache"

I also tried some other stuff but in the end I got a new error of:

AH00526: Syntax error on line 191 of C:/Users/Andrew/Dropbox/Private/DevTesting/xampp/apache/conf/httpd.conf: DocumentRoot must be a directory

Now I had changed the original directory path from:

DocumentRoot "/Users/username.domain/Dropbox/Private/DevTesting/xampp/htdocs"


DocumentRoot "htdocs"

And I also tried a few other varieties with a bit more of the path.

Not quite sure where I'm going wrong here and if anyone could offer anything to try that would be really appreciated.



EDIT: I decided to start again with this but did a few things a little different.

I new folder in my dropbox folder called "dev" - the first time around I initially called the folder "Dev Testing" and then renamed it to "DevTesting" which may have caused some of the problems?

I then download the 7z lite/USB version, unzipped it and then copied it all into my dev folder - instead of using the .exe to 'install' to a the folder.

I made changes as mentioned above to the listen ports, server IP and commented out the bind to 443 thing.

On the first computer I ran the setup_xampp file and then ran using xampp_start and check it all worked fine, installed wordpress and checked that worked fine too. Once done I used xampp_stop to shut it all down.

Once dropbox has synced on the next computer I tried to run apache_start and got the same error as before so ran setup_xampp and was given the option to refresh references so did that then tried to run apache_start again and it worked fine.

Since then I've repeated on 4 different computers and providing I use setup_xampp each time to refresh references before running apache_start it all seems to work fine :D

How robust it is I'm not sure or whether I should create any alternative sets of config files or something like that I don't know :?:

For the time being though providing I follow the above steps it all works great - thanks to the xampp guys for making it so easy - even for a newbie :D
by andrewc
22. August 2012 20:42
Forum: XAMPP for Windows
Topic: Dropbox setup - but not relative enough? - RESOLVED
Replies: 0
Views: 1891

Need Help With Dual Boot Install.

The 3 Books I bought:
- PHP, My SQL and Apache 5th Edition By SAMS
I plane to study this book in sequence. Programs build on each other.
Comes with DVD and has: PHP 5.4, MySQL 5.5 and Apache 2.4 that I can install individually.
Or I can install XAMPP that will install everything and give me an interface, to my understanding.

- Beginning PHP and My SQL from Novice to Professional 4th Edition. By aPress
This book is more of a reference, the topics do not build on each other.

- Linux for Dummies 8 books in 1, 4th Edition.
Comes with DVD and has: openSUSE, Debian, Fedora, Ubuntu and Xandros.

Plan A:
For my studies, I would like to run Linux as OS and install Apache, MySQL and PHP to run a Web Server and to learn everything as I go. I would like to keep Windows 7 on this new HP Pavilion p6 series AMD Quad-Core A6-3650 Accelerated Processor PC and partition the hard drive to have a dual boot system. Then on the new partition install Linux and so on. Then I can start to have a wonderful life with open source.

Plan B:
As I understand, there is a flash drive that will boot Linux. First of all, I don’t know where to download it. Then if I did, will it change Windows 7 in anyway?

Now – if I can run Linux off a flash drive, can all of the other software be install on the same flash drive and run properly and not change Windows 7 box at all???

Plan C:
Format the drive and install Linux and so on.

Plan D:
Using the program XAMPP on the DVD from the book PHP, My SQL and Apache 5th Edition By SAMS and start learning PHP, MySQL and a little about Apache with Windows 7 as OS. But this will not give me Linux knowledge!!!!!!!!!

One Last Item:
What is the command to find out what type and version of Linux on work server?
by Mountain High
21. August 2012 06:14
Forum: Apache Friends
Topic: Need Help With Dual Boot Install.
Replies: 1
Views: 10387

#2002 - The server is not responding


Ich habe mir von eBay einen IBM server x346 gekauft,
ich habe Linux Ubuntu installirt...

und brauche jetz eine MySQL datenbank,
darum habe ich lampp installirt und wollte jetz über phpmyadmin datenbank usw. erstellen
doch es komm eine fehler-meldung... :(


MySQL said: Documentation
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)


fehler 2002
Der Server gibt keine antwort

wieso gibt der server keine antwort was ist den los


flaset@SkyFire:~$ cd /home/flaset/lampp
flaset@SkyFire:~/lampp$ sudo /opt/lampp/lampp start
[sudo] password for flaset:
Starte XAMPP fuer Linux 1.7.4...
XAMPP: XAMPP-Apache laeuft bereits.
XAMPP: Ein anderer MySQL daemon laeuft bereits.
XAMPP: XAMPP-ProFTPD laeuft bereits.
XAMPP fuer Linux gestartet.

was ist den los? ich will eigentlich Linux nehmen und nicht win-server-2003

Danke für Antwort (solche fehler hate ich bei win7 nicht...)

ich habe gerade "sudo /opt/lampp/lampp stop" geschreiben und Linux sagt

flaset@SkyFire:~/lampp$ sudo /opt/lampp/lampp stop
Stoppe XAMPP fuer Linux 1.7.4...
XAMPP: Stoppe Apache mit SSL...
XAMPP: XAMPP-MySQL laeuft gar nicht.
XAMPP: Stoppe ProFTPD...
XAMPP beendet.

MySQL leuft garnicht wieso das?...
by Flaset
17. August 2012 18:33
Forum: XAMPP für Linux
Topic: #2002 - The server is not responding
Replies: 0
Views: 2879

Regarding Apache Service in XAMPP Control Panel

I had installed XAMPP setup & could see the Apache & Mysql services in Running State. But when I try to access the website that I had hosted locally - using localhost url, I doesn't get response from apache service. Though it is running the link doesn't get opened. When I open the XAMPP Control Panel, stop the apache service & then start it again then after that I get the locally hosted application url browsed.

Everytime I shut down, restart machine I had to restart the service manually via XAMPP Control Panel. Can anyone let me know what can be the issue?

by Avadhut
17. August 2012 13:31
Forum: XAMPP for Windows
Topic: Regarding Apache Service in XAMPP Control Panel
Replies: 0
Views: 1130

Re: MySQL returns error 2002 (10060) when connecting to remo

Personally -I'd start by temporarily disabling that connector

the 10060 says its an OS error - might be a firewall issue.

this might be helpful ... enied.html

Good Luck
by JonB
17. August 2012 02:49
Forum: XAMPP for Windows
Topic: MySQL returns error 2002 (10060) when connecting to remote
Replies: 4
Views: 4581

Re: Problem

Altrea wrote:
xeNium wrote:Well, I am not a PHP or MySQL (Expert). I will try to do it then.

Sometimes Google will help too.

Searching for "vBulletin PHP 5.4" give me this result:

best wishes,

As (I) said before, I can't start the Apache.

hackattack142 wrote:If copying that file over did not fix your Apache starting on your server, you need to install the Visual C++ 2008 x86 runtimes from the link I provided earlier. The x64 runtimes will not fix your issue in this case.

Oh, really? Thanks for the information I will try it.
Bytheway Is that the latest version?

Ragnarok210 wrote:I had a similar problem earlier, when I did a multiple installation with XAMPP 1.8.0. As I was doing the setting, I had to start and stop the services multiple time. For while there, the service can't stop or start, or atleast it didn't said it was starting or stopping. Then I was having some problem with the php, and had to reinstall again. Afterward, I am getting some of the errors you're getting.

To completely fix my problem, I had to fully uninstall the XAMPP, including the registry and all the remaining file in C drive (that's where i installed), and reinstall it again. It runs normal, phpmyadmin works fine, but my php script doesn't work, so I went back to 1.7.7 :D. Try again some where in the future.

I think the solution is not that because the apache not want to be started from the beginning after (I) reinstall the computer Operation System. I think hackattack142 solution is seem to be true.
by xeNium
15. August 2012 14:10
Forum: XAMPP for Windows
Topic: Problem [Apparently Solved]
Replies: 11
Views: 15925

XAMPP: Another FTP daemon is already running


I just installed XAMPP for linux 1.8.0 on my below linux server:
[root@mtatb01 ~]# uname -a
Linux 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 athlon i386 GNU/Linux

XAMPP works fine now except the ProFTPD is not working. Each time i tried to start the xampp i got a message :
XAMPP: Another FTP daemon is already running.

here is the full output of stop/start command:

[root@mtatb01 ~]# /opt/lampp/lampp stop
Stopping XAMPP for Linux 1.8.0...
XAMPP: Stopping Apache with SSL...
XAMPP: Stopping MySQL...
XAMPP: XAMPP-ProFTPD is not running.
XAMPP stopped.

[root@mtatb01 ~]# /opt/lampp/lampp start
Starting XAMPP for Linux 1.8.0...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Another FTP daemon is already running.
XAMPP for Linux started.

it seems there is another FTP server is installed in the server. i want to use the XAMPP ProFTPD which i installed. I’ve googled this trouble extensively for over an hour and I haven’t found a reasonable solution. Firstly, should I be worried about this? If so, then the common solution seems to be using ps aux | grep ftp in order to find the process using the FTP and kill it, but I’m unable to kill FTP for some bizarre reason. Please advise how to find and remove any other instance already installed and force linux to use only the ProFTPD packed with XAMPP?

waiting for prompt help as it is stopping me from proceeding further.
by zakwithu
14. August 2012 08:33
Forum: XAMPP for Linux
Topic: XAMPP: Another FTP daemon is already running
Replies: 3
Views: 6181

MySQL stopped working


I have been running XAMPP 1.8.0 on Puppy Linux Slacko 5.3.3 for sometime without a problem. One day I log on and it says the following error message:
Code: Select all
XAMPP: Starting MySQL...
XAMPP: Couldn't start MySQL!

I have tried everything I could think of, wiping and starting again, even with a fresh download. Tried downgrading to previous versions and suffered the same problem. Also tried a variety of permissions changes as stated in a few posts on this forum to no avail.

What could be causing this error?

Thanks in advance, your help is really appreciated!

Luke :)
by bogods
11. August 2012 21:16
Forum: XAMPP for Linux
Topic: MySQL stopped working
Replies: 7
Views: 4877

Return to advanced search