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 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电子邮件此文章 Angsuman Chakraborty日由Angsuman Chakraborty 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.有一对夫妇的好主意,我仍未实施喜欢使用lighttpd而不是服务器的Apache 2 。
Read more (183 words) » 阅读更多( 183字) » Filed under提起下 Database数据库 , , Database Replication数据库复制 , , Enterprise Software企业软件 , , Headline News头条新闻 , , How To如何 , , Linux Linux的 , , MySQL MySQL的 , , Open Source Software开放源码软件 , , Pro Blogging赞成Blogging , , RDBMS RDBMS的 , , Web网页 , , Web 2.0 Web 2.0的 , , Web Hosting虚拟主机 , , Web Services Web服务 , , WordPress在WordPress | | 2 Comments 2评论 | | RSS 2.0 2.0 | | Email this Article电子邮件此文章 |