How to solve /opt/lampp/bin/mysql.server: line 261: log_success_msg: command not found
P粉056618053
P粉056618053 2023-11-08 08:46:06
0
1
1112

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粉056618053
P粉056618053

reply all(1)
P粉316890884

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
}
#
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template