Angsuman Chakraborty日由Angsuman Chakraborty April 20th, 2008 2008年4月20日 Let’s look at all the ways to change MySQL password, for root and other users:讓我們看看所有的方法,改變MySQL的密碼,為根和其他用戶: Read more (78 words) » 閱讀更多( 78字) » Filed under提起下 Database數據庫 , , Headline News頭條新聞 , , How To如何 , , MySQL MySQL的 , , Programming編程 , , RDBMS RDBMS的 , , Tech Note技術說明 | | Feedback反饋 | | RSS 2.0 2.0 | | Email this Article電子郵件此文章 Angsuman Chakraborty日由Angsuman Chakraborty April 20th, 2008 2008年4月20日 AWK is an extremely versatile and powerful language for processing files and text data. awk是一個非常靈活和強大的語言處理檔案和文字資料。 Often you can use awk to perform complex tasks on Unix / Linux / Mac OS command line which would otherwise take a full-fledged programming effort.通常您可以使用awk執行複雜的任務就在UNIX / Linux /在Mac OS的命令行,否則將採取一個正式的編程努力。 AWK is great for log processing, creating custom scripts which will then be executed and more. awk是偉大的日誌處理,創建自定義腳本就會被處決,以及更多。 For example I wanted to create a backup of all of my MySQL databases, each to a separate file after compressing them with gzip (maximum compression).例如我想創建一個備份,我所有的MySQL的數據庫,每到一個單獨的文件壓縮後,他們與gzip (最大壓縮) 。 I already created a list of databases on my MySQL server is a file named databases (how original!).我已經創建了一個數據庫列表我的MySQL服務器是一個檔名為數據庫 (如何原來的! ) 。 Here is the awk script which processes the file and creates another file (named database_backup) which contains commands to backup all the databases as specified above.這裡是awk腳本進程的文件,並創造另一個文件(命名為database_backup ) ,其中包含的命令來備份所有的數據庫,作為上述指定。 Read more (172 words) » 閱讀更多( 172字) » Filed under提起下 Database數據庫 , , Headline News頭條新聞 , , How To如何 , , Linux Linux的 , , MySQL MySQL的 , , Programming編程 , , Web網頁 | | Feedback反饋 | | RSS 2.0 2.0 | | Email this Article電子郵件此文章 Angsuman Chakraborty日由Angsuman Chakraborty April 20th, 2008 2008年4月20日 Here is a simple command to auto repair, check and optimize all the tables in all databases running on a MySQL server :這裡是一個簡單的命令,以汽車修理,檢查和優化所有表格在所有數據庫上運行的MySQL服務器 : Read more (149 words) » 閱讀更多( 149字) » Filed under提起下 Company公司 , , Database數據庫 , , Enterprise Software企業軟件 , , Headline News頭條新聞 , , How To如何 , , MySQL MySQL的 , , RDBMS RDBMS的 , , Tech Note技術說明 , , Web網頁 | | Feedback反饋 | | RSS 2.0 2.0 | | Email this Article電子郵件此文章 Angsuman Chakraborty日由Angsuman Chakraborty April 18th, 2008 2008年4月18日 I am serious.我很嚴重。 While MySQL is a great open source database, I have full respect to Sun’s plan to provide high-end features for paying customers only.而MySQL的是一個偉大的開放源代碼數據庫,我有充分尊重Sun的計劃,以提供高端的功能,付費用戶只。 After all they are in the business of making money and not philanthropy, last I checked.畢竟他們是在生意賺錢,而不是慈善事業,去年我查了。 Read more (135 words) » 閱讀更多( 135字) » Filed under提起下 Company公司 , , Database數據庫 , , Headline News頭條新聞 , , MySQL MySQL的 , , RDBMS RDBMS的 , , Sun太陽 , , Web網頁 | | 1 Comment 1條評論 | | RSS 2.0 2.0 | | Email this Article電子郵件此文章 Angsuman Chakraborty日由Angsuman Chakraborty April 5th, 2008 2008年4月5日 TechCrunch got it from a source that Google plans to launch their BigTable, their proprietary internal database which is used for Google Search, as a web service to compete with Amazon SimpleDB Web Service. techcrunch得到它從一個來源, Google計劃推出他們的bigtable ,其專有的內部數據庫是使用Google搜尋,作為一個Web Service的競爭與亞馬遜simpledb Web服務。 Read more (145 words) » 閱讀更多( 145字) » Filed under提起下 Company公司 , , Database數據庫 , , Enterprise Software企業軟件 , , Google谷歌 , , Headline News頭條新聞 , , Web網頁 , , Web Services Web服務 | | Feedback反饋 | | RSS 2.0 2.0 | | Email this Article電子郵件此文章 Angsuman Chakraborty日由Angsuman Chakraborty November 27th, 2007 2007年11月27日 To delete duplicates from a MySQL database table I normally copy the duplicate data first to a temporary table and then use the copied id’s to delete from the original table.刪除重複的,從一個MySQL數據庫表我通常複製重複的數據首先到一個臨時表,然後使用複製編號的刪除從原來的表。 Read more (140 words) » 閱讀更多( 140字) » Filed under提起下 Database數據庫 , , Headline News頭條新聞 , , How To如何 , , MySQL MySQL的 , , Open Source Software開放源碼軟件 , , RDBMS RDBMS的 | | Feedback反饋 | | RSS 2.0 2.0 | | Email this Article電子郵件此文章 Angsuman Chakraborty日由Angsuman Chakraborty November 23rd, 2007 2007年11月23日 In MySQL you can use the GRANT statement to create users and assign privileges to them at the same time.在MySQL中,您可以使用贈款的聲明,創建用戶和分配的特權,他們在同一時間內。 It is extremely convenient and beats create user or directly hacking the mysql.user table.這是非常方便和節拍創建用戶或直接入侵mysql.user表。 I learned few things about GRANT the hard way.我學到幾件事有關贈款的努力方式。 Read more (182 words) » 閱讀更多( 182字) » Filed under提起下 Database數據庫 , , Enterprise Software企業軟件 , , Headline News頭條新聞 , , How To如何 , , MySQL MySQL的 , , Open Source Software開放源碼軟件 , , Programming編程 , , RDBMS RDBMS的 | | Feedback反饋 | | RSS 2.0 2.0 | | Email this Article電子郵件此文章 Angsuman Chakraborty日由Angsuman Chakraborty November 18th, 2007 2007年11月18日 Replicating on two or more MySQL master database servers複製兩個或兩個以上的MySQL master數據庫服務器 Read more (112 words) » 閱讀更多( 112字) » Filed under提起下 Database數據庫 , , Database Replication數據庫複製 , , Enterprise Software企業軟件 , , Headline News頭條新聞 , , How To如何 , , Linux Linux的 , , MySQL MySQL的 , , Open Source Software開放源碼軟件 , , Programming編程 , , RDBMS RDBMS的 , , Tech Note技術說明 , , Web Hosting虛擬主機 | | Feedback反饋 | | RSS 2.0 2.0 | | Email this Article電子郵件此文章 Angsuman Chakraborty日由Angsuman Chakraborty November 18th, 2007 2007年11月18日 Monitoring MySQL queries is a favorite pastime of MySQL administrators especially for performance reasons.監測MySQL的疑問是一個最喜愛的消遣活動的MySQL管理員,尤其是出於性能原因。 Here is a simple bash script to monitor long running MySQL queries in realtime using the ubiquitous ’show processlist’.這裡是一個簡單的bash腳本,以監察長期運行MySQL查詢在實時使用無處不在'顯示processlist ' 。 The best part about this script is that you can use it to log your queries over time for later evaluation.最好的一部分,有關此腳本的是,您可以用它來記錄您的疑問,隨著時間的推移,後來的評價。 Read more (213 words) » 閱讀更多( 213字) » Filed under提起下 Database數據庫 , , Enterprise Software企業軟件 , , Headline News頭條新聞 , , How To如何 , , Linux Linux的 , , MySQL MySQL的 , , Open Source Software開放源碼軟件 , , Programming編程 , , RDBMS RDBMS的 , , Tech Note技術說明 , , Web網頁 , , Web Hosting虛擬主機 , , Web Services Web服務 | | Feedback反饋 | | RSS 2.0 2.0 | | Email this Article電子郵件此文章 Angsuman Chakraborty日由Angsuman Chakraborty November 16th, 2007 2007年11月16日 When you try MySQL master-master replication with two (or more) servers you may often find that in the process of configuring the original master to also act as a slave server (start slave), it fails with the following error:當您嘗試MySQL的主主複製與兩個(或兩個以上)服務器,你可能經常發現,在這個過程中配置的原主人,也充當奴隸服務器(開始奴隸) ,它不能與下面的錯誤:
mysql> start slave; MySQL的>開始的奴隸; ERROR 1200 (HY000): The server is not configured as slave; fix in config file or with CHANGE MASTER TO 錯誤1200 ( hy000 ) :服務器未配置為奴隸; FIX在config文件中,或與變化主人
Read more (97 words) » 閱讀更多( 97字) » Filed under提起下 Database數據庫 , , Database Replication數據庫複製 , , Enterprise Software企業軟件 , , Headline News頭條新聞 , , How To如何 , , Linux Linux的 , , MySQL MySQL的 , , Open Source Software開放源碼軟件 , , RDBMS RDBMS的 | | Feedback反饋 | | RSS 2.0 2.0 | | Email this Article電子郵件此文章 | |