Results 1 to 3 of 3

Thread: Error After Installing Xampp .Error :Xampp Could Not Start MySql.

  1. #1
    Join Date
    Jun 2013

    Exclamation Error After Installing Xampp .Error :Xampp Could Not Start MySql.

    Error -Warning: World-writable config file '/opt/lampp/etc/my.cnf' is ignoredXAMPP: Couldn't start MySQL!
    Last edited by Htut Myat; June 10th, 2013 at 04:53 PM.

  2. #2
    Join Date
    Jun 2013

    Re: Error After Installing Xampp .Error :Xampp Could Not Start MySql.

    sudo chmod 755 /opt/lampp/etc/my.cnf

  3. #3
    Join Date
    Sep 2006
    Ubuntu 14.04 Trusty Tahr

    Use LAMP instead of XAMPP

    Welcome. Actually XAMPP is not needed on Ubuntu, you can get all those same packages through the repository instead by adding a single package:

    sudo apt-get update
    sudo apt-get install lamp-server^
    (Note the caret ^ )
    Or you can use Synaptic instead of apt-get.

    That will install everything in the right places except for Perl which is already there because it is built into Ubuntu. After that, you can safely delete what you put under /opt. Using the package manager has several advantages. One is that security and performance updates can be managed automatically, as will the related notifications. Another is that everything will be in the right place (as opposed to the wrong places for XAMPP) which will make it easier to troubleshoot or have other people help you. XAMPP is a fine crutch for people still on Windows, but it is the next hardest way to do things in the Linux world. In the Linux world we rather let as much as possible be taken care of automatically.


Posting Permissions

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