search

Home  >  Q&A  >  body text

How to solve /opt/lampp/bin/mysql.server: line 261: log_success_msg: command not found

I encountered this error after installing xampp in my linux manjaro. Previously, even with this error, it worked fine the first time I opened phpmyadmin and executed some queries. But somehow phpmyadmin shows blank screen. How can I solve it?

renew: The black screen no longer appears, but the warning code remains. The warning code has no impact on my productivity. But it still bothers me a little

P粉056618053P粉056618053402 days ago1085

reply all(1)I'll reply

  • P粉316890884

    P粉3168908842023-11-09 00:58:01

    I solved this problem simply by removing the log_success_msg function call in /opt/lampp/bin/mysql.server line 261, not the most elegant solution, but simple. It's worth noting that this edit does not affect functionality.

    wait_for_ready () {
          i=0
          while test $i -ne $service_startup_timeout ; do
        
            if $bindir/mysqladmin ping >/dev/null 2>&1; then
              log_success_msg // ***Delete this function call***
              return 0
            elif kill -0 $! ; then
              :  # mysqld_safe is still running
            else
              # mysqld_safe is no longer running, abort the wait loop
              break
            fi
        
            echo $echo_n ".$echo_c"
            i=`expr $i + 1`
            sleep 1
        
          done
        
          log_failure_msg
    
      return 1
    }
    #

    reply
    0
  • Cancelreply