PIXNET Logo登入

Hello World

跳到主文

:D

部落格全站分類:生活綜合

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 9月 01 週二 201516:10
  • mysql 管理筆記

#新安裝mysql, 修改root密碼
mysqladmin -u root password rootpass
#建立資料庫,名稱為db1
create database db1;
#建立使用者 webap
CREATE USER webap@localhost IDENTIFIED BY web

(繼續閱讀...)
文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣(262)

  • 個人分類:資料庫
▲top
  • 5月 26 週四 201116:13
  • 快快樂樂學Sybase-PHP連線時避開警告訊息

當我們在php裡面要建立一個sybase資料庫的連線時link = sybase_connect server,login,password; 會出現 Warning: Sybase: Server message: Changed database context to master 這樣的訊息通

(繼續閱讀...)
文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣(292)

  • 個人分類:資料庫
▲top
  • 8月 30 週一 201014:06
  • MySQL Cluster 測試筆記 (記憶體計算公式)

SizeofDatabase NumberOfReplicas 1.1 / NumberOfDataNodes
MySQL官方資料 :

(繼續閱讀...)
文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣(316)

  • 個人分類:資料庫
▲top
  • 8月 27 週五 201016:44
  • MySQL Cluster 測試筆記 (常見的限制)

ERROR 1214 HY000 The used table type doesnt support FULLTEXT indexes不可以有FULLTEXT index
ERROR 1118 42000 Row size too large. The maximum row size for t

(繼續閱讀...)
文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣(443)

  • 個人分類:資料庫
▲top
  • 8月 11 週三 201018:35
  • MySQL Cluster 測試筆記 (新增一個sql node)

mgm node看起來沒什麼load,決定把他加上sql node的群組root@node1 # vi /var/lib/mysql-cluster/config.inimysqldhostname=10.0.0.102id=2mysqldhostname=10.0.0.101id=11root@n

(繼續閱讀...)
文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣(650)

  • 個人分類:資料庫
▲top
  • 8月 11 週三 201015:37
  • MySQL Cluster 測試筆記 (轉換table格式to ndbcluster)

將MyISAM的table格式轉換為cluster格式mysql ALTER TABLE table1 ENGINE=NDBCLUSTER;Query OK, 2 rows affected 0.96 secRecords: 2 Duplicates: 0 Warnings: 0mysql show

(繼續閱讀...)
文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣(493)

  • 個人分類:資料庫
▲top
  • 8月 11 週三 201015:10
  • MySQL Cluster 測試筆記 (建個資料玩看看)

開始建table囉首先看看有沒有支援ndbclustermysql show engines; ndbcluster YES .... 略mysql use test;以前會醬子create tablemysql create table table1 a int;Query OK, 0 rows

(繼續閱讀...)
文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣(269)

  • 個人分類:資料庫
▲top
  • 8月 11 週三 201012:43
  • MySQL Cluster 測試筆記 (當data node掛掉一台的時候)

master 現在是node3root@node3 # ndb_mgm -e showConnected to Management Server at: 10.0.0.101:1186Cluster Configuration---------------------ndbdNDB 2 nodes

(繼續閱讀...)
文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣(626)

  • 個人分類:資料庫
▲top
  • 8月 11 週三 201010:57
  • MySQL Cluster 安裝筆記

MySQL的cluster主要分為3種node
mgm node 沒錯,照字面上看起來就是管理用的node
sql node 未來查詢都會透過這個node來做增刪改查
data node 存放資料的地方
首先準備4台機器,裝好Linux作業系統,其他套件都不要選
10.0.0.101 mgm nod

(繼續閱讀...)
文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣(5,013)

  • 個人分類:資料庫
▲top
  • 8月 14 週二 200714:01
  • 快快樂樂學Sybase-修改default charset,將ase預設語系改成big5

# cd charsets# charset -Usa -Ppassword -Sserver_name binary.srt big5# isql1 use master2 go1 sp_configure default sortorder id,50,big52 go1 shutdown2 g

(繼續閱讀...)
文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣(824)

  • 個人分類:資料庫
▲top
«1...345»

momo shop

近期文章

    誰來我家

    我的地盤

    helloworld
    暱稱:
    helloworld
    分類:
    生活綜合
    好友:
    累積中
    地區:

    文章分類

    • 資料庫 (392)
    • 工商服務 (864)
    • 吃吃吃 (248)
    • 系統管理 (3,768)
    • 遊記 (224)
    • 未分類文章 (1)

    參觀人氣

    • 本日人氣:0
    • 累積人氣:0

    pixGoogleAdsense1

    pixGoogleAdsense2

    留言板