zoukankan      html  css  js  c++  java
  • [Ubuntu] the permissions of lampp mysql and phpmyadmin

    After I run this command in Ubuntu:

    sudo chmod 777 -R /opt/lampp
    Then I start the lampp

    sudo /opt/lampp/lampp start
    I got the warnning:

    代码
    Starting XAMPP for Linux 1.7.3a...
    XAMPP: Starting Apache with SSL (and PHP5)...
    XAMPP: Starting MySQL...
    Warning: World
    -writable config file '/opt/lampp/etc/my.cnf' is ignored
    Warning: World
    -writable config file '/opt/lampp/etc/my.cnf' is ignored
    XAMPP: Starting ProFTPD...
    XAMPP
    for Linux started.

    Then I visite the phpmyadmin in the browser with : http://127.0.0.1/phpmyadmin, I also got the error:

    Wrong permissions on configuration file, should not be world writable!

    The resolved:

    sudo chmod 755 -R /opt/lampp

    That is to say, We can set the 777 permissions to the /opt/lampp because the security reason then mysql can't start.

  • 相关阅读:
    JDBC
    过滤器
    Servlet-web.xml 常见配置
    Servlet-HttpSession接口
    Servlet-Cookie对象
    Servlet-HttpServlet对象
    kmp算法及应用
    线段树入门到自闭
    tarjan算法与拓扑排序
    马拉车模板
  • 原文地址:https://www.cnblogs.com/davidhhuan/p/1768657.html
Copyright © 2011-2022 走看看