linux Mysql 配置一些注意事項

2021-09-01 18:09:03 字數 718 閱讀 1287

在my.ini(linux下為my.conf)檔案中 [mysqld] 標記後加一行內容為

解決方法不能執行問題

log-bin-trust-function-creators=1

解決忽略表名大小寫設定

lower_case_table_names=1

//分配mysql許可權

grant all privileges on *.* to 'root'@'192.168.1.3' identified by 'password' with grant grant option;

flush privileges;

mysql command not found

遇上-bash: mysql: command not found的情況別著急,這個是因為/usr/local/bin目錄下缺失mysql導致,只需要一下方法即可以解決:

把mysqlpath/bin/mysql對映到/usr/local/bin目錄下:

# cd /usr/local/bin

# ln -fs /mysqlpath/bin/mysql mysql

編輯配置檔案 vi 命令輸入完後按i進入insert模式,編輯完按esc退出編輯模式輸入:x儲存並退出。

vi /etc/my.cnf

:x 儲存並退出(zz)

centos svn 一些配置

新增提交時必須寫注釋功能 1.進入相應工程的hooks目錄下,例如我的倉庫名是game,那我的目錄就是 svnrepository microgame hooks,在這個下面找到pre commit.tmpl檔案,拷貝乙份到當前目錄,並去掉tmpl字尾,並設定其可執行許可權chmod x pre c...

vss, boundscheck的一些配置

vss相關的配置1,vss的自動登入,有下列幾種方法a 可以用命令列 s p.exe s 路徑 y 使用者名稱 密碼 b 在環境變數設定 vss 相關項 ssuser 使用者名稱 sspwd 密碼 ssdir 伺服器目錄 2,rose中的unit無法自動關聯vss?a 檢查rose中unit是否成功...

ImageLoader 的一些配置

displayimageoptions options new displayimageoptions.builder showimageonloading r.drawable.ic stub resource or drawable showimageforemptyuri r.drawable...