Time of Update: 2015-06-22
標籤: 程式設計語言選擇php5 , web伺服器選擇Apache2 ,後台資料庫選擇MySQL首先安裝編譯工具, 開啟終端sudo apt-get install build-essential autoconf automake1.9 cvs subversion (不管你裝沒裝過都試一下)Apache 的安裝sudo apt-get install apache5PHP5的安裝sudo apt-get install php5php5環境的MYsql的安裝sudo
Time of Update: 2015-06-22
標籤:1. 一個簡單的例子1.1. 建立表: create table t(s1 integer);1.2. 觸發器:delimiter |create trigger t_trigger before insert on t for each row begin set @x = "hello trigger"; set NEW.s1 = 55;end; |1.3.
Time of Update: 2015-06-22
標籤:編寫C語言程式connect1.c與MySQL資料庫建立串連,在命令列輸入:gcc connect1.c -o connect1.exe -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient顯示找不到mysql.h,如下(圖1)所示:原因是安裝MySQL時只是安裝了MySQL的伺服器和MySQL的用戶端,沒有安裝MySQL database development files.解決辦法:1.圖形介面操作:直接在軟體中心輸入MySQL
Time of Update: 2015-06-22
標籤:目測 VB6 的資料比較少了,花了好久時間寫了個查詢語句首先下載驅動程式,我是win7 x64 不知道剛開始下載了一個5.1 x64的驅動為什麼串連不上,總提示找不到驅動,下載5.3 32位後正常http://dev.mysql.com/downloads/connector/odbc/Dim cn As New ADODB.ConnectionDim rs As New ADODB.Recordset‘ 定義資料庫連接字串變數Dim strCn As String‘
Time of Update: 2015-06-19
標籤:常用命令記錄:vim /etc/mysql-mmm/mmm_common.confvim /var/log/mysql-mmm/mmm_mond.logmonitor:service mysql-mmm-monitor start/stop/restartagent:service mysql-mmm-agent start/stop/restartmysql-mmm有6種狀態1.online2.admin_offline3.hard_offline4.awaiting_recovery5
Time of Update: 2015-06-18
標籤:linux系統安裝mysql mysql linux 1、檢查是否已安裝,grep的-i選項表示匹配時忽略大小寫 [[email protected] JavaEE]#rpm -qa|grep -i mysql
Time of Update: 2015-06-20
標籤:大家都知道,mysql分頁寫:select * from 'yourtable' limit start,rows如今我資料庫一張表裡面有9969W條資料。表名叫tweet_dataselect count(*) from tweet_data
Time of Update: 2015-06-18
標籤:mac下使用mysql時出現了ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: NO)錯誤root使用者無法登陸,按網上的方法實驗了下,總是達不到結果大致方法都是進入安全模式啟動,然後進行操作,解決方案:以安全模式啟動 MySQ: /usr/bin/safe_mysqld --skip-grant-tables & >use mysql &
Time of Update: 2015-06-20
標籤:題外話:這是一篇教程貼,不僅學的是mysql的編譯,還是一些編譯的知識.我也是一個菜鳥,寫一些感悟和心得,有什麼問題可以批評指正,謝謝!如果只是為了安裝請移到我的另一篇安裝貼: Mysql安裝貼環境: OS: CentOS 6.6x64 mini mysql: mysql-5.6.251. mysql 下載: http://dev.mysql.com/downloads/mysql/ 說明:這個網站有時候JS被牆,你選擇了Source
Time of Update: 2015-06-18
標籤:利用jdbc方式串連資料庫。1.添加mysql驅動jar包我用的是這個驅動包mysql-connector-java-5.1.26-bin.jar添加方式:2.載入MySql驅動類 1 private void LoadDriver() { 2 try { 3 String forName = "com.mysql.jdbc.Driver"; 4 // 載入MySql的驅動類 5
Time of Update: 2015-06-18
標籤:CentOS6.0(64位)安裝Apache+PHP+Mysql教程,安裝Magento(解決DOM,Mcrypt,GD問題)完整教程0 Posted by :小黑 On : 2012 年 9 月 28 日 Views: 7,586Category:Linux方面點滴分享, 全部分享, 技術分享Tags:centos -bash: make: command not found, centos -bash:
Time of Update: 2015-06-18
標籤:linux下安裝配置jdk+tomcat+mysql測試環境1、系統內容CentOS6.52、下載JDK,tomcat軟體包,官網可以下載,也可以用命令列下載 Mysql使用yum安裝3、linux安裝JDK 1)下載JDK #wget
Time of Update: 2015-06-18
標籤:開啟下載的mysql安裝檔案mysql-5.0.27-win32.zip,雙擊解壓縮,運行“setup.exe”,出現如下介面 mysql安裝嚮導啟動,按“Next”繼續 選擇安裝類型,有“Typical(預設)”、“Complete(完全)”、“Custom(使用者自訂)”三個選項,我們選擇“Custom”,有更多的選項,也方便熟悉安裝過程
Time of Update: 2015-06-20
標籤:8.2 MySQL管理包含MySQL發行版中的一些有用的工具程式使管理工作變得更加容易,它們中最常用的是mysqladmin程式。8.2.1 命令除了mysqlshow命令以外,所有的MySQL命令都接受下面的3個標準參數。命令選項 參數 說明-u 使用者名稱
Time of Update: 2015-06-20
標籤:sql 最佳化 mysql 開發反應做壓測時並發上不去,有條SQL執行非常慢,於是explain下:MariaDB [db_vip]> MariaDB [db_vip]> explain select ext_id, mid, msource_id, msource_type,
Time of Update: 2015-06-18
標籤: MySQL DATE syntax FAQ: How do I set a MySQL DATE field to default to "now", i.e., the current time?Setting the date to "now"Unfortunately you can‘t default a MySQL DATE field to "now", but you can get the "now" behavior with a MySQL
Time of Update: 2015-06-18
標籤: Summary: How to drop MySQL database tables and recreate them when you have foreign keyrelationships between the tables.This is pretty obscure, but I thought I‘d post it here so I wouldn‘t forget how to do this ... if you ever have a
Time of Update: 2015-06-18
標籤:mysql 索引 hash index 在大資料量MYISAM引擎表進行JOIN的時候,MYSQL只有NEST LOOP方式進行運算,效率非常低。所以,這種時候應該使用HASH索引。由於只有MEMORY和NDB引擎支援HASH索引,所以應該用他們作為緩衝表。例如:CREATE TEMPORARY TABLE T1 ENGINE=MEMORY AS SELECT * FROM TABLEA;
Time of Update: 2015-06-18
標籤:1. 刪除資料庫 DROP DATABASE 資料庫名;mysql> drop database test;即刪除資料庫模式2 .建立資料庫 create DATABASE 資料庫名;mysql> create database test;在Windows和Linux對資料庫名和表名的處理是不同的,在Windows是不區分大寫和小寫,而在Linux中是區分大寫和小寫3 建立操作資料庫的專用使用者文法規則:建立新使用者並賦予其對資料庫的操作許可權GRANT ALL
Time of Update: 2015-06-18
標籤:mysql錯誤專題1.1錯誤描述150610 10:05:13 [Warning] IP address ‘61.240.144.64‘ could not be resolved: Name or service not known650) this.width=650;"