現在的IDE都很強大,功能很多
但是真的會去用到熟透的人反而不多吧
2011年4月20日
2011年4月11日
[DataBase] MySQL source bin install
If using mysql-OS.tar.gz to install mysql,
there will no mysqld under etc/init.d/ ,
and will see "cannot connect to local mysql server through .." message like this with mysql.sock not found.
The way to solve is copy and rename mysql/suppout-file/mysql.server as /etc/init.d/mysqld
then reboot, enjoy mysql.
there will no mysqld under etc/init.d/ ,
and will see "cannot connect to local mysql server through .." message like this with mysql.sock not found.
The way to solve is copy and rename mysql/suppout-file/mysql.server as /etc/init.d/mysqld
then reboot, enjoy mysql.
2011年3月28日
2010年11月30日
[DataBase] MySQL Cluster
特點:
- 低花費:不需額外的設備如storage、硬體產品、OS
- Proven Deployment:連Cisco根US Navy都在用。
- 比99純金還威的99.999% Availability
- Subsecond failover and recovery:故障節點可被其他節點自動接管,且cluster database擁有自療能力(auto restart, recover, reconfigure)。也可動態增加節點、線上更新database schema
- 遠端多點監控很重要,所以我們提供了GUI,而且非常合用。
- Real-Time, High Throughput Performance:非同步writing+確保each writing request到達每個cluster。而每個node都可以平行運作並掌管多重connection。
- Dynamic, Linear Scalability:可支援255個node,支援disk-based data for space-intensive objects, like BLOBs。
- Flexible Data Access:支援C++、Java、OpenJPA、LDAP、HTTP interaface。
- Open Source Economics:
- Cluster Manager Feature:
2010年11月14日
[Java] Java + MySQL 安裝
Java IDE建議裝NetBean,這東西根本快變成Java官方(指定)的友好IDE。
1. 安裝MySQL
http://netbeans.org/kb/docs/ide/install-and-configure-mysql-server.html
2. 連結Java and MySQL
http://netbeans.org/kb/docs/ide/mysql.html
請照網頁講的步驟來做
不然就跟我一樣裝個SQL都可以花一個早上
如果MySQL service有啟動失敗過
請把C槽底下的隱藏資料夾program data打開,砍掉裡面的MySQL,當然其他東西也要砍掉重新來一次
其他參考連結
http://www.developer.com/article.php/3417381 舊版的安裝方法,但很完整
http://www.hmes.kh.edu.tw/~jang/mysql.html 帳號與權限
CLI:
mysql [databasename] -u[username] -p[password] 由win-dos進入mysql CLI
1. 安裝MySQL
http://netbeans.org/kb/docs/ide/install-and-configure-mysql-server.html
2. 連結Java and MySQL
http://netbeans.org/kb/docs/ide/mysql.html
請照網頁講的步驟來做
不然就跟我一樣裝個SQL都可以花一個早上
如果MySQL service有啟動失敗過
請把C槽底下的隱藏資料夾program data打開,砍掉裡面的MySQL,當然其他東西也要砍掉重新來一次
其他參考連結
http://www.developer.com/article.php/3417381 舊版的安裝方法,但很完整
http://www.hmes.kh.edu.tw/~jang/mysql.html 帳號與權限
CLI:
mysql [databasename] -u[username] -p[password] 由win-dos進入mysql CLI
2010年11月9日
2010年8月29日
2009年10月15日
訂閱:
文章 (Atom)