填坑之路

问题解决

Git上传项目提示Push rejected: Push to origin/master was rejected解决办法

git remote -v
git remote rm origin
git remote add origin master
git pull
git pull origin master
git pull origin master --allow-unrelated-histories

linux系统下 后台运行程序

nohup java -jar xxx.jar &

mysql事务相关语句

select * from information_schema.INNODB_TRX;

select * from information_schema.INNODB_LOCKS;

select * from information_schema.INNODB_LOCK_WAITS;

select * from information_schema.processlist where id=12234;

SHOW GLOBAL VARIABLES LIKE 'innodb_lock_wait_timeout';

kill trx_mysql_thread_id

你可能感兴趣的:(填坑之路)