How To Change MySQL Password MySQLのパスワードを変更する方法

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言葉) »

How To Use AWK To Simplify Scripting: Multi-Database Backup Example Awkのスクリプトを使用する方法を簡素化する:マルチデータベースのバックアップの例

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単語) »

MySQL Tip: How To Check, Repair & Optimize All Tables in All Databases MySQLのヒント:を確認する方法、修復&最適化がすべてのテーブルのすべてのデータベース

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 :次に示すのは、単純なコマンドをauto修復、最適化をチェックし、すべてのデータベースのテーブルのすべてのMySQLサーバ上で実行され

Read more (149 words) » 続きを読む( 149単語) »

MySQL High End Features Should be Closed Source & for Paid Customers Only MySQLのハイエンド機能がクローズドソース&を有料の顧客のみ

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はオープンソースのデータベース大きな、私は太陽の計画を完全に尊重し、ハイエンドの機能を提供する有料サービスのお客様のみです。 After all they are in the business of making money and not philanthropy, last I checked.彼らは後にすべての金もうけのビジネスに進出する慈善事業ではなく、最後の私を確認します。

Read more (135 words) » 続きを読む( 135単語) »

MySQL SQL Delete NotesノートのMySQLのSQLを削除

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単語) »

MySQL: Creating Users & Granting Access SimplifiedのMySQL :ユーザとアクセス許可を作成簡体字

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のすることができます。 GRANTステートメントを使用してユーザを作成する権限を割り当てることは、同じ時間です。 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単語) »

6 MySQL Database Replication Tips 6 mysqlデータベースのレプリケーションのヒント

November 18th, 2007 2007年11月18日

Replicating on two or more MySQL master database servers複製を2つ以上のMySQLマスタデータベースサーバー

Read more (112 words) » 続きを読む( 112単語) »

Monitoring MySQL Queries Using Bash Script bashスクリプトを使用してMySQLのクエリの監視

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のクエリを監視する長いをリアルタイムに使用して、ユビキタス'のSHOW 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単語) »

Solution: MySQL Master-Master Replication Fails With ERROR 1200 (HY000) on Master解決策: MySQLマスタ-マスタのレプリケーションが失敗し、エラーが発生1200 ( hy000 )をマスター

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マスタ-しようとしたときに2つのマスタのレプリケーション(もしくはそれ以上)のサーバー頻繁に見つけることがありますのプロセスを設定して、元のマスターにもスレーブサーバの役割を果たす(スタート]ボタンをスレーブ) 、それは失敗し、次のようなエラー:

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 ) :スレーブとして構成され、サーバーではない;修正さにマスターを変更するconfigファイル、または

Read more (97 words) » 続きを読む( 97言葉) »

Improving Site Performance…サイトのパフォーマンスを改善…

September 24th, 2007 2007年9月24日

サイトの稼働時間 I have significantly improved our site performance in the last month.私は当サイトのパフォーマンスを大幅に改善の最後の月日です。 I did all the site optimization steps by the book, found a lot of new things and fine-tuned existing ideas.私はすべてのサイトを最適化された手順を実行予約は、多くの新しいものを発見すると、既存のアイデア微調整します。 There are a couple of good ideas I am yet to implement like using Lighttpd server instead of Apache 2.には、いくつかの良いアイデアはまだありませんを実装するように私の代わりに使用してサーバーのApache lighttpd 2 。

Read more (183 words) » 続きを読む( 183単語) »