configure aws cli for multiple accounts

AWS CLI helps to manage and administrate AWS resources from the command line rather than opening up the AWS management console. AWS CLI is very useful when you lot of automation tasks etc. For example, if you need to stop /start an EC2 instance every day, you can use AWS CLI for that. and place it in a cron job. Check this link to setup aws cli in Linux. If you see the above link it shows you how to configure aws cli for your aws account. Let’s say what…

Read More

MySQL Replication ERROR 1062: Duplicate Entry for Primary Key when starting Slave

In this blog,we will see how to resolve the MySQL Replication ERROR 1062 : Duplicate Entry for Primary Key when starting Slave. Here we will skip the MySQL slave error. This error,will be raising after successfully establishing MySQL Master and Slave Connection and got error like “MySQL slave duplicate entry with MySQL error code 1062” When we take dump from Master database,there will be possibility that our Master Database has duplicate entries,but it wont work in the slave.Hence we have to make one change in Configuration file of MySQL “my.cnf”…

Read More