redis操作總結(更新中)
本地啟動redis
ps -ef | grep redis
cd /usr/local/redis/bin
./redis-server //使用預設配置啟動(比如預設不載入密碼)
./redis-server ../etc/redis.conf //使用配置檔案啟動
redis-cli -h 127.0.0.1 -p 6379 //登入redis(無密碼)
redis-cli -h 127.0.0.1 -p 6379 -a XXX //登入redis(密碼)
auth XXX
redis命令操作
redis命令集合
問題集
ERR Client sent AUTH, but no password is set
- 原因:redis沒有設定命令,但客戶端連線時使用了auth請求
- 解決:設定密碼,使用配置檔案啟動
MISCONF Redis is configured to save RDB snapshots
127.0.0.1:6379> config set stop-writes-on-bgsave-error no
相關推薦
redis操作總結(更新中)
本地啟動redis ps -ef | grep redis cd /usr/local/redis/bin ./redis-server //使用預設配置啟動(比如預設不載入密碼) ./redis-server ../etc/redis.conf //使用配置檔案啟動 redis-c
python總結(更新中)
註意 整數 元素 生成 更新 ron 外部 也會 mmu 1 python函數中的參數傳遞(註意可變和不可變傳遞) 可更改(mutable)與不可更改(immutable)對象 在 python 中,strings, tuples, 和 numbers 是不可更改的對象,而
軟件體系結構知識點總結(更新中)
綁定 體系 ast taint structure 完整 延遲 維護 公式 軟件體系結構 公式 ? 體系架構=組件+連接件+約束 ? SoftwareArchitecture=Components+Connectors+Constra
FPGA-04-在ISE中錯誤總結(更新中)
1.procedural assignment to a non-register DATA_BUS is not permitted 這種報錯一般是在always語句中使用了非reg變數,在always語句中所有訊號必須是reg變數,低階錯誤
idea中常見問題以及操作彙總(更新中)
快捷鍵 在介面實現類中自動生成Override:con + O 去除無效的import:con + opt + O 重新命名:con + T run: con + opt + R debug: con + opt + D 程式碼塊註釋:com + sh + / 全文查詢:com +
redis入門教程(更新中)
1.安裝使用radis 1.下載安裝: 1.下載地址:https://github.com/MSOpenTech/redis/releases 2.配置全域性路徑: 在path中加入解壓後的資料夾目錄 3.radis牛刀小試:
區間dp總結(更新中)
前一陣跟著紫書學了區間dp,趁著還沒涼再複習複習 題目要求 : 有n堆石子排成一行,每次選擇相鄰的兩堆石子,將其合併為一堆,記錄該次合併的得分為兩堆石子個數之和。已知每堆石子的石子個數,求當所有石子合併為一堆時,最小的總得分。 解題思路 : 將每個大的區
軟體研發知識點總結(更新中)
1.乙太網中根據MAC地址區分不同的裝置。 2.static的用途: (1)在函式體內,一個被宣告為靜態的變數在函式被呼叫的過程中維持其值不變。 (2)在模組內(函式體外),一個被宣告為靜態的變數可以被模組內的函式訪問,但不能被模組外其他的 函式訪問,它是一個本地的全域性變
datastage執行時錯誤總結(更新中)
問題一:根據給出的id資訊找到表,列!!! SQL0407N Assignment of a NULL value to a NOT NULL column "TBSPACEID=2, TABLEID=50, COLNO=8" is not allowed. SQLST
redis 在Windows下的安裝及基本操作(更新中~~~)
有用 redis 安裝 abc nbsp com inux eas pan 安裝目錄 Redis 安裝 Window 下安裝 下載地址:https://github.com/MSOpenTech/redis/releases。 Redis 支持 32 位和 64 位。這個需
工作中總結的工具(更新中)
FeloneHelper 下面都是工作中總結的工具,全部集合在utils裡面,一般都在程式碼中做了使用示例,直接把程式碼跑一遍,然後按下面的流程複製到自己專案就可以用。專案用的是AndroidStudio 3.1.3 ,高於這個版本的應該都可以正常跑起來。有目
Android中檔案讀寫(輸入流和輸出流)操作總結(附原始碼)
Android中檔案讀寫操作 1. Android中檔案讀寫的原理: (1).所有檔案的儲存都是位元組的儲存。 (2).在磁碟上保留的並不是檔案的字元而是先把字元編碼成位元組,再儲存這些位元組到磁碟。 (3).在讀取檔案(
《深入理解Java虛擬機:JVM高級屬性與最佳實踐》讀書筆記(更新中)
pen 內存區域 深度 span 進化 ria 最短 描述 core 第一章:走進Java 概述 Java技術體系 Java發展史 Java虛擬機發展史 1996年 JDK1.0,出現Sun Classic VM HotSpot VM, 它是 Sun JDK 和 Open
linux常用命令匯總(更新中...)
文本查看 ... lan 指定 編輯命令 顯示 查看文件內容 屏幕 一個 文本查看與編輯 1、文本編輯命令 vi/vim 2、查看文件內容命令 命令 說明 命令格式 參數 cat 將一個文件的內容連續輸出在屏幕上 cat [-option] 文件名 -n:將行號
Office 中的各種小tips(更新中)
pan lan tex 編號 裁剪 com 文獻 ffice text 1、Word 中打字輸入會擦掉之後原有字符,出現“吃字”的情況? 要將“改寫”切換為“插入”,最簡單的方法就是點擊鍵盤上小鍵
Vue-小demo、小效果 合集(更新中...)
lin auto isa hover json () add ole bce (騰訊課堂學習小demo:https://ke.qq.com/course/256052) 一、簡單的指令應用 ——打擊滅火器 圖片素材點擊騰訊課堂的鏈接獲取 html: 1 &
網絡編程(更新中)
體系 mis connect 這就是 網絡編程 只需要 能開 直接 組織 軟件開發架構 C/S架構 主從式架構 (英語:Client–server model) 也稱客戶端-服務器(Client/Server)架構、C/S架構,是一種網絡架構,它把客戶端 (Client)
藍橋杯單片機知識匯總(更新中)
藍橋杯 del 轉換 art oat 進制 ecb 序列 數碼 藍橋杯知識匯總 1.數碼管 段碼顯示 uchar code display[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x80, 0x90, 0
蒟蒻的9個背包的浩大工程(更新中)
無限 net 存在 定義 amount 詳細 多重背包 details 狀態轉移方程 所以說背包直接看dd大神的就好了,算了瞎寫寫吧。 0/1背包 有n件物品和一個容量為C的背包。第i件物品的重量是w[i],價值是v[i]。求解將哪些物品放入背包可使背包的
LNOI2018遊記(更新中)
div 似的 clas 今天 style 大連 body 更新 高斯 立個flag不會退役。 Day 0: 水一發。 大連大學的鍵盤敲起來就跟敲紙似的。 膜拜要進隊的gqh,yxd,sjq。 (高斯消元,高原反應,分麾下治……)