Time of Update: 2014-08-27 
                    
                                            
                    標籤:style   blog   http   color   os   使用   io   strong   檔案   來源:http://www.cnblogs.com/chenjunbiao/archive/2011/01
                 
                            
                    
                    Time of Update: 2014-08-27 
                    
                                            
                    標籤:http   使用   io   strong   檔案   ar   資料   問題   cti   最近做的一個應用,功能要求非常簡單,就是 key/value 形式的儲存,簡單的
                 
                            
                    
                    Time of Update: 2014-08-27 
                    
                                            
                    標籤:http   os   java   檔案   ar   資料   div   代碼   html   轉:http://www.2cto.com/database/201304/204320.html mysql
                 
                            
                    
                    Time of Update: 2014-08-27 
                    
                                            
                    標籤:使用   sp   c   sql   type   mysql   table   bs   函數   如果查詢中
                 
                            
                    
                    Time of Update: 2014-08-27 
                    
                                            
                    標籤:mysql字元集修改(1) 最簡單的修改方法,就是修改mysql的my.ini檔案中的字元集索引值,如 default-character-set = utf8        character_set_server = utf8修改完後,重啟mysql的服務,service mysql restart使用 mysql> SHOW VARIABLES LIKE ‘character%‘;查看,探索資料庫編碼均已改成utf8mysql&
                 
                            
                    
                    Time of Update: 2014-08-27 
                    
                                            
                    標籤:mysql出於公司的業務原因,既不能保留固定天數的日誌,又不能讓磁碟空間站滿,所以只能手動刪除binlog使用mysql內建的 PURGE命令PURGE MASTER LOGS TO ‘mysql-bin.000002‘; 刪除002之前(不包括002)的binlog日誌,[[email protected] data]# lsDBmaster.test.err  ib_logfile0    localhost.pid    
                 
                            
                    
                    Time of Update: 2014-08-27 
                    
                                            
                    標籤:mysql一)mysql> status 當前資料庫的資訊 二)mysql> show status(當前會話) 和show global status(全域)  查看伺服器的狀態資訊  例如:  查看暫存資料表:showglobal status like ‘created_tmp%‘;  三) mysql> show global variables 查看全域伺服器運行各種狀態值 
                 
                            
                    
                    Time of Update: 2014-08-27 
                    
                                            
                    標籤:mysql系統內容 系統版本:Centos6.4-x86.64軟體環境mysql-5.5.27環境角色            IP地址Mysql-Master    
                 
                            
                    
                    Time of Update: 2014-08-27 
                    
                                            
                    標籤:mysql基礎/***建立一個資料庫名字叫LV_20140827,為了便於在命令提示字元下顯示中文, 在建立時通過 character set gbk 將資料庫字元編碼指定為 gbk**/create database LJ_20140827 character set gbk;/**查看已經建立了哪些資料庫。**/show databases;/***選擇所要操作的資料庫要對一個資料庫進行操作, 必須先選擇該資料庫, 否則會提示錯誤:ERROR 1046(3D000): No
                 
                            
                    
                    Time of Update: 2014-08-27 
                    
                                            
                    標籤:style   http   os   ar   art   sp   line   on   ad   下載:http://www.percona.com/redir/downloads/percona-monitorin
                 
                            
                    
                    Time of Update: 2014-08-26 
                    
                                            
                    標籤:style   blog   http   color   os   使用   io   strong   ar   查看apache版本 /usr/sbin/apachectl -v  httpd -v
                 
                            
                    
                    Time of Update: 2014-08-26 
                    
                                            
                    標籤:style   blog   color   os   java   io   檔案   ar   資料   問題:JSP頁面傳輸到MySQL資料庫時,中文為亂碼(資料庫中儲存亂碼)。解決辦法:  1、將所有的涉及到編碼的都
                 
                            
                    
                    Time of Update: 2014-08-27 
                    
                                            
                    標籤:style   blog   http   io   2014   log   sp   on   size   可以在一台機器上訪問另一台機器的MySQL,但是需要一些設定。進入MySQL後,輸入以下命令:GRANT
                 
                            
                    
                    Time of Update: 2014-08-27 
                    
                                            
                    標籤:style   http   使用   io   for   ar   資料   html   sp   在使用navicat進行資料庫管理的時候,在查看錶對象的時候會發現,每次重新整理,資料表的記錄數不斷變化,尤其是大表。
                 
                            
                    
                    Time of Update: 2014-08-27 
                    
                                            
                    標籤:des   http   os   io   strong   for   檔案   ar   art   準備篇:1、配置防火牆,開啟80連接埠、3306連接埠vi /etc/sysconfig/iptables-A
                 
                            
                    
                    Time of Update: 2014-08-27 
                    
                                            
                    標籤:style   color   os   io   for   ar   資料   art   cti   [[email protected] ~]# yum -y install
                 
                            
                    
                    Time of Update: 2014-08-26 
                    
                                            
                    標籤:http   使用   strong   ar   資料   div   html   on   htm   規則1:
                 
                            
                    
                    Time of Update: 2014-08-26 
                    
                                            
                    標籤:檔案   資料   on   c   資料庫   sql   mysql   php   資訊   用網上通用的方法讀取並上傳csv檔案內容進入mysql資料庫中時,中文顯示亂碼,即使對資料用iconv函數轉碼後仍然亂碼,這
                 
                            
                    
                    Time of Update: 2014-08-26 
                    
                                            
                    標籤:伺服器   mysql   資料庫   資料恢複   資料備份   一、為什麼要備份?    災難恢複    需求改變    測試二、事先考慮的問題    可以容忍丟失多長時間的資料?    恢複要在多長時間內完成?   
                 
                            
                    
                    Time of Update: 2014-08-26 
                    
                                            
                    標籤:centos 卸載 刪除 mysql以管理使用者登陸:1、刪除mysql程式[[email protected] /]#yum remove mysql mysql-server mysql-libs compat-mysql512、刪除mysql檔案夾[[email protected] /]#rm -rf /var/lib/mysql3、刪除my.cnf檔案[[email protected] /]#rm