Time of Update: 2014-10-13
標籤:使用 sql mysql table rom 函數 記錄 select 注意 distinct(str)函數是用來去掉重複記錄的,但是它只是針對某一個欄位可以去重複。例如:select
Time of Update: 2014-10-12
標籤:style blog http io os 使用 ar java for mysql有4種不同的日誌,分別是二進位日誌,查詢日誌,慢查詢日誌和錯誤記錄檔,這些日記記錄著資料庫工作的方方面面
Time of Update: 2014-10-13
標籤:叢集 架構 mysql mysql-mmm 備份 背景:之前實現的mysql同步複製功能(見筆者之前文章http://blog.csdn.net/kingofworld/article/details/39210937)只是雙機熱備功能,還不能做到Mysql連結的自動切換。本配置實現真正的mysql叢集,使得在某台機子的m
Time of Update: 2014-10-13
標籤:mysql 資料庫 grant replication slave on *.* to ‘rep‘@‘172.17.1.%‘ identified by ‘12QAZXCvfr34‘;change master to
Time of Update: 2014-10-13
標籤:http io ar for sp div on cti html 如果表A的主關鍵字是表B中的欄位,則該欄位稱為表B的外鍵,表A稱為主表,表B稱為從表。外鍵是用來實現參照完整性的,不同的
Time of Update: 2014-10-10
標籤:mysql 大小寫 先說遇到的問題:有個mysql執行個體跑了兩個庫,兩套程式。其中一個庫的表名全為大寫,另一個庫的表名全為小寫。 表名為小寫這個庫的程式裡面寫sql語句的時候有用大寫的,運行時會提示找不到表。所以需要在my.cnf裡添加“lower_case_table_names =
Time of Update: 2014-10-13
標籤:style blog color os ar sp div on log mysql> create table t_cosler( -> f_PY char
Time of Update: 2014-10-10
標籤:blog http io os 使用 ar for 資料 sp MySQL之外鍵約束MySQL有兩種常用的引擎類型:MyISAM和InnoDB。目前只有InnoDB引擎類型支援外鍵約束。I
Time of Update: 2014-10-11
標籤:database sql dba mysql socket 在安裝好了MySQL之後,使用了新的設定檔後,MySQL伺服器可以成功啟動,但在登陸的時候出現了ERROR 2002 (HY000): Can‘t connect to local MySQL server through
Time of Update: 2014-10-11
標籤:style blog http color io os 使用 ar 資料
Time of Update: 2014-10-13
標籤:style http color io os ar 資料 sp on views.py中代碼:def show_all_user(req): num=1 if
Time of Update: 2014-10-10
標籤:使用 ar for 檔案 資料 sp on amp 時間 1 mysql支援enum,和set類型,sql server不支援2
Time of Update: 2014-10-10
標籤:style blog color io os 使用 ar for 檔案 操作命令:show binlog events in ‘mysql-bin.000016‘ limit
Time of Update: 2014-10-10
標籤:blog http 使用 ar 檔案 資料 sp 2014 log 方法 1、 analyze
Time of Update: 2014-10-10
標籤:http io os 使用 ar for 檔案 資料 art 資料庫主從複製原理:資料庫的主從複製就是從master資料庫複寫到slave資料庫,在master與slave之間實現整個複製
Time of Update: 2014-10-10
標籤:資料庫管理 create drop alter RDBMS:關係型資料庫管理系統1、資料庫建立、刪除2、建立表、刪除表、修改表3、索引的建立、刪除4、使用者和許可權5、資料增、刪、改6、查詢DML:資料操作語言 insert、replace、update、deleteDDL:資料定義語言 (Data
Time of Update: 2014-10-09
標籤:linux目錄一:查看安裝路徑: 1、nginx安裝路徑:ps -ef | grep nginx 摁斷行符號,將出現如片:650) this.width=650;" src="http://hi.csdn.net/attachment/201107/6/0_13099311747NbI.gif" style="border:none;" />master process 後面的就是 nginx的目錄。2、mysql安裝路徑: ps
Time of Update: 2014-10-09
標籤:style color os ar sp 問題 on ef bs 之前有使用者很不解:SQL語句非常簡單,就是select * from test_1 where user_id=1
Time of Update: 2014-10-09
標籤:mysql skip-grant-tables 忘記密碼 找到mysql的設定檔 my.ini在[mysqld]下面添加 skip-grant-tableswin+R 快速鍵 輸入cmd 然後輸入命令net stop mysql 最後使目錄指向mysql安裝目錄下的bin目錄輸入命令 mysqld-nt --skip-grant-tables
Time of Update: 2014-10-09
標籤:des http io os 使用 ar for 資料 sp http://www.kankanews.com/ICkengine/archives/212.shtml 快速的