Logo
Explore Help
Sign In
wpstudio/structure
1
0
Fork 0
You've already forked structure
Code Issues Pull Requests Releases Wiki Activity
Files
0f3d5604890f721274393a4f5fb882a64efd9b8c
structure/bash/tail-db-general-log.sh

11 lines
271 B
Bash
Raw Normal View History

* renaming xdebug scripts for non-conflicts name with user defined scripts in home directory starts with s and q + tail db general log bash helper * correct path to xdebug2 config for previous php 74 version - remove unnecessary laradock example crontab because this script moved crontab-example dir * improve (un)create symlinks script logic * use only newly composer auth path
2023-01-15 15:08:15 +03:00
#!/bin/bash
+ true script dir option for fetching related bash-scripts config on some quick commands
2023-11-22 15:54:46 +03:00
# Not working on windows symlinks
* renaming xdebug scripts for non-conflicts name with user defined scripts in home directory starts with s and q + tail db general log bash helper * correct path to xdebug2 config for previous php 74 version - remove unnecessary laradock example crontab because this script moved crontab-example dir * improve (un)create symlinks script logic * use only newly composer auth path
2023-01-15 15:08:15 +03:00
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
GENERAL_LOG_FILE_PATH="${DIR}/log/mariadb/mariadb.log"
sudo truncate -s 0 $GENERAL_LOG_FILE_PATH
clear
* use mariadb-dump * filter tailing mariadb general log
2023-07-13 13:19:08 +03:00
sudo tail -f $GENERAL_LOG_FILE_PATH | grep -Ev "(Close|Prepare)"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 49ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API