Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: XAMPP: Couldn't start MySQL

  1. #11
    Join Date
    Jan 2013

    Re: XAMPP: Couldn't start MySQL

    i had the same problem but it was related to the /opt/lampp/etc/my.cnf file permissions.

    so i just
    chmod 555 /opt/lampp/etc/my.cnf

    and its working

  2. #12
    Join Date
    May 2013

    Re: XAMPP: Couldn't start MySQL

    First thing you must do is to install xampp as super user to avoid errors like couldn't start MySQL and can't start PHPMyAdmin

    >if you have already install xampp on your system before just type '
    rm -rf /opt/lampp' to have a fresh install:

    Open terminal and login as the system administrator root:
    Extract the downloaded archive file to /opt:
    tar xvfz xampp-linux-1.8.1.tar.gz -C /opt
    sudo gedit /opt/lampp/etc/extra/httpd-xampp.conf
    this is to fix PHPMyAdmin error;

    copy and paste this

    <IfDefine PHP4>
    LoadModule php4_module        modules/
    <IfDefine PHP5>
    LoadModule php5_module        modules/
    # Disabled in XAMPP 1.8.0-beta2 because of current incompatibilities with Apache 2.4
    # LoadModule perl_module        modules/
    Alias /phpmyadmin "/opt/lampp/phpmyadmin"
    Alias /phpsqliteadmin "/opt/lampp/phpsqliteadmin"
    # since XAMPP 1.4.3
    <Directory "/opt/lampp/phpmyadmin">
        AllowOverride AuthConfig Limit
        Require all granted
        Order allow,deny
        Allow from all
    <Directory "/opt/lampp/phpsqliteadmin">
        AllowOverride AuthConfig Limit
        Order allow,deny
        Allow from all
    # since LAMPP 1.0RC1
    AddType application/x-httpd-php .php .php3 .php4
    XBitHack on
    # since 0.9.8 we've mod_perl
    <IfModule mod_perl.c>
            AddHandler perl-script .pl
        PerlHandler ModPerl::PerlRunPrefork
        PerlOptions +ParseHeaders
            PerlSendHeader On
    # demo for mod_perl responsehandler
    #PerlModule Apache::CurrentTime
    #<Location /time>
    #      SetHandler modperl
    #      PerlResponseHandler Apache::CurrentTime
    # AcceptMutex sysvsem is default but on some systems we need this
    # thanks to jeff ort for this hint
    #AcceptMutex flock
    #LockFile /opt/lampp/logs/accept.lock
    # this makes mod_dbd happy - oswald, 02aug06
    # mod_dbd doesn't work in Apache 2.2.3: getting always heaps of "glibc detected *** corrupted double-linked list" on shutdown - oswald, 10sep06
    #DBDriver sqlite3
    # New XAMPP security concept
    <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
        Order deny,allow
        Allow from all
        Allow from ::1 \
            fc00::/7 \
        ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
    if you have some problem on the login as super user or su command just do this:
    $ sudo passwd root
    [sudo] password for user:
    Enter new UNIX password:
    Retype new UNIX password:
    password update succesfully

    credit to Daksh Bhatt @ and

Page 2 of 2 FirstFirst 12

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts