How To Change MySQL Password
April 20th, 2008 by Angsuman ChakrabortyLet’s look at all the ways to change MySQL password, for root and other users:
The Database Blog |
|
How To Change MySQL PasswordApril 20th, 2008 by Angsuman ChakrabortyLet’s look at all the ways to change MySQL password, for root and other users: How To Use AWK To Simplify Scripting: Multi-Database Backup ExampleApril 20th, 2008 by Angsuman ChakrabortyAWK is an extremely versatile and powerful language for processing files and text data. 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 is great for log processing, creating custom scripts which will then be executed and more. 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). I already created a list of databases on my MySQL server is a file named databases (how original!). 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. MySQL Tip: How To Check, Repair & Optimize All Tables in All DatabasesApril 20th, 2008 by Angsuman ChakrabortyHere is a simple command to auto repair, check and optimize all the tables in all databases running on a MySQL server: MySQL High End Features Should be Closed Source & for Paid Customers OnlyApril 18th, 2008 by Angsuman ChakrabortyI 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. After all they are in the business of making money and not philanthropy, last I checked. Google To Launch Database Web Service Using BigTable?April 5th, 2008 by Angsuman ChakrabortyTechCrunch 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. MySQL SQL Delete NotesNovember 27th, 2007 by Angsuman ChakrabortyTo 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: Creating Users & Granting Access SimplifiedNovember 23rd, 2007 by Angsuman ChakrabortyIn MySQL you can use the GRANT statement to create users and assign privileges to them at the same time. It is extremely convenient and beats create user or directly hacking the mysql.user table. I learned few things about GRANT the hard way. 6 MySQL Database Replication TipsNovember 18th, 2007 by Angsuman ChakrabortyReplicating on two or more MySQL master database serversMonitoring MySQL Queries Using Bash ScriptNovember 18th, 2007 by Angsuman ChakrabortyMonitoring MySQL queries is a favorite pastime of MySQL administrators especially for performance reasons. Here is a simple bash script to monitor long running MySQL queries in realtime using the ubiquitous ’show processlist’. The best part about this script is that you can use it to log your queries over time for later evaluation. Solution: MySQL Master-Master Replication Fails With ERROR 1200 (HY000) on MasterNovember 16th, 2007 by Angsuman ChakrabortyWhen 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: |
|
| "Weakness of attitude becomes weakness of character." - Albert Einstein | |
| Protected by Comment Guard Pro Copyright© 2003-2008 Angsuman Chakraborty | |