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

Thread: XAMPP: Couldn't start MySQL

  1. #11
    Join Date
    Jan 2013
    Beans
    1

    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
    Beans
    5

    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:
    su
    Extract the downloaded archive file to /opt:
    tar xvfz xampp-linux-1.8.1.tar.gz -C /opt
    then
    sudo gedit /opt/lampp/etc/extra/httpd-xampp.conf
    this is to fix PHPMyAdmin error;

    copy and paste this

    Code:
    <IfDefine PHP4>
    LoadModule php4_module        modules/libphp4.so
    </IfDefine>
    <IfDefine PHP5>
    LoadModule php5_module        modules/libphp5.so
    </IfDefine>
    # Disabled in XAMPP 1.8.0-beta2 because of current incompatibilities with Apache 2.4
    # LoadModule perl_module        modules/mod_perl.so
    
    
    
    
    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>
    
    
    <Directory "/opt/lampp/phpsqliteadmin">
        AllowOverride AuthConfig Limit
        Order allow,deny
        Allow from all
    </Directory>
    
    
    # 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
    </IfModule>
    
    
    # demo for mod_perl responsehandler
    #PerlModule Apache::CurrentTime
    #<Location /time>
    #      SetHandler modperl
    #      PerlResponseHandler Apache::CurrentTime
    #</Location>
    
    
    # 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 127.0.0.0/8 \
            fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
            fe80::/10 169.254.0.0/16
    
    
        ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
    </LocationMatch>
    
    
    
    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 @ http://daksh21ubuntu.blogspot.com/20...roblem-in.html and
    RAMESH NATARAJAN @ http://www.thegeekstuff.com/2009/09/...error-message/

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

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