Time of Update: 2014-09-01
標籤:style color 使用 strong ar for 資料 sp on 在使用SQL語句進行資料表插入insert操作時,如果表中定義了主鍵,插入具有相同主鍵的記錄會報錯: &nbs
Time of Update: 2014-09-01
標籤:style blog http color io 使用 ar 檔案 資料 下載http://dev.mysql.com/downloads/mysql/選擇 Linux-
Time of Update: 2014-08-31
標籤:des style blog color os io 使用 ar for 1.串連資料庫格式: mysql -h主機地址 -u使用者名稱
Time of Update: 2014-08-31
標籤:php 配置 這個筆記對應的資訊太老了,畢竟PHP都5.6了,而我這裡提到的還是5.3.10版的。資料也是網上找到的,因為不懂PHP,所以這老的資料也還是留下吧,以後會用到類似的也不一定呢?閑話少說,上筆記吧: PHP環境配置筆記日期:2014.8.31這個筆記也是參考了網友的部落格來做的:http://www.cnblogs.com/pharen/archive/2012/02/06/234062
Time of Update: 2014-08-30
標籤:mysql 二進位 通用 MariaDB安裝方式: ①rpm包: os vendor
Time of Update: 2014-08-30
標籤:mysql鎖今天線上業務遇到一個問題,因為一張類比自增序列的表被鎖住,涉及該表的業務受到影響。線上情況:1、這個表只有一個id欄位。2、id欄位為主鍵索引3、該表只有一行資料,記錄全域最大id4、某業務預存程序操作會執行id+1操作,並擷取當前id的值,插入到其他相關的表中一行資料5、預存程序執行完畢,最後會commit6、事物隔離等級為READ-COMMITTED7、某業務thread 102336鎖住該表,使用show processlist查看,進程102336處於sleep狀態8、
Time of Update: 2014-08-31
標籤:style blog http color os io ar 檔案 art 1、知道密碼 第一次登陸(無密碼)mysqladmin -u root password
Time of Update: 2014-08-31
標籤:http os 使用 io ar 資料 art div html 1. sudo apt-get install mysql-server, input administrator
Time of Update: 2014-08-31
標籤:使用 io ar for 資料 sp on c ad MySQL中約束儲存在information_schema資料庫的table_constraints中,可以通過該表查詢約束資訊;
Time of Update: 2014-08-31
標籤:style blog color 使用 io 檔案 資料 div log 1、建立.sh檔案,內容是# encoding: utf-8#配置參數 USER=root
Time of Update: 2014-08-31
標籤:os 使用 div 代碼 sp new c 管理 sql 先將mysql安裝bin目錄(例如:c:xxx\xxx\mysql\bin
Time of Update: 2014-08-31
標籤:style http color 使用 io ar 資料 art 問題 使用MySQL命令列可以實現許多我們需要的功能,不過在使用MySQL命令列的時候,有一個問題是在MySQL命令列插入
Time of Update: 2014-08-31
標籤:http color ar div 代碼 sp on 時間 line MySQL 的CAST()和CONVERT()函數可用來擷取一個類型的值,併產生另一個類型的值。兩者具體的文法如下:1
Time of Update: 2014-08-31
標籤:des http ar 資料 問題 html sp on c 有時候,我們需要複製某個欄位一整列的資料到另外一個新的欄位中,這很簡單,SQL可以這麼寫:UPDATE tb_1 SET
Time of Update: 2014-08-30
標籤:mysql select 正則 首先我們建立一張帶有逗號分隔的字串。CREATE TABLE test(id int(6) NOT NULL AUTO_INCREMENT,PRIMARY KEY (id),pname VARCHAR(20) NOT NULL,pnum VARCHAR(50) NOT NULL);然後插入帶有逗號分隔的測試資料INSERT INTO
Time of Update: 2014-08-30
標籤:style http color os io strong ar for 2014 MySQL複製中slave延遲監控http://imysql.com/2014/08/30/
Time of Update: 2014-08-30
標籤:blog os ar 資料 art div log sp on # mysql -uroot -p mysql> use mysql;mysql> select
Time of Update: 2014-08-30
標籤:io ar 檔案 art cti sp on c ef 首先停止mysql服務: sudo /etc/init.d/mysql stop 修改mysql的設定檔:
Time of Update: 2014-08-30
標籤:mysql pdo php訪問資料庫 當我開始去接觸PHP的時候,真切的感受到其所具有的魅力,本著學習的態度和打破固有的語言和模式的想法,開始了PHP之旅,總的來說,走的還是比較順利,在其中能夠看到C,Java,Perl影子,學習曲線不大,但是做好產品仍然有著一條漫漫長路。
Time of Update: 2014-08-30
標籤:style blog http color strong 資料 2014 log sp 學習PHP開發要配置各種環境,一般會用到apache作為伺服器、Mysql資料庫。如何快速的配置環境