mysql 1449 The user specified as a definer (‘root’@’%’) does not exist
1.登录mysql,执行命令,将权限赋给root
XY的BLOG
1.登录mysql,执行命令,将权限赋给root
armv5
location /h5/ { alias /www/wwwroot/1256/public/h5/; try_files $uri $uri/ /h5/index.html; index index.html index.htm; }
#!/bin/sh # 获取本机IP ipv4=$(ifconfig 'ppp0' | grep "inet addr" | cut -f 2 -d ":" | cut -f 1 -d " " ) ipv6=$(ifconfig 'ppp0' | grep "inet6 addr" |head -n 1| cut -f 13 -d " "|cut -d'/' -f1) arg="${ipv4}-${ipv6}"
查看信息 mysqlbinlog –start-datetime=‘2023-11-01 23:54:21’ –stop-datetime=‘2023-11-01 23:55:21’ -vv -d {databasename} mysql-bin.000004;
CREATE DEFINER = `swcd1243`@`%` EVENT `1243`.`del_custom` ON SCHEDULE EVERY '1' DAY ON COMPLETION PRESERVE DO update fa_custom set deletetime=2 where lasttime+90*86400<unix_timestamp() and deletetime is null;
ps |grep ffmpeg |grep -v grep if [ $? -ne 0 ] then
mysqldump --column-statistics=0 -uroot -P 3307 -pqwe123456789 ysh_two > heizhu.sql
查询json_array包含指定内容
#!/bin/sh lastdate=`/opt/bin/date -d "20 days ago" +%Y-%m-%d` echo $lastdate candelfile=`rm -rf /tmp/mnt/media/video/${lastdate}*` echo $candelfile