![]() ![]() ![]() Install 1 Package (+3 Dependent packages) Mysql noarch 5.5-1.6.amzn1 amzn-main 2.7 k > Processing Dependency: mysql55 >= 5.5 for package: mysql-5.5-1.6.amzn1.noarch > Package mysql.noarch 0:5.5-1.6.amzn1 will be installed Up 19.62 seconds.Įxisting lock /var/run/yum.pid: another copy is running as pid 2646. It executed successfully upon instance launch, without any issues, as can be seen in the output below: Starting cloud-init: Cloud-init v. The user data script I’ve used is as follows: #!/bin/bash Since the initial Amazon Linux 1 AMI Id was not mentioned in the correspondences, I’ve tried to use another Amazon Linux 1 AMI “ami-0021005f0cbcd6aaa” which is available in the us-west-2 region for replicating this issue. Nonetheless, the same steps are working fine for your Amazon Linux 2 AMI “ami-0ca285d4c2cda3300”. Going through the forum correspondences, I see that you’re trying to install mysql via user-script on Amazon Linux 1 AMI, but you’re not finding the package inside the operating system upon launch of the instance. cloud-init: Package Arch Version Repository Size cloud-init: -> Finished Dependency Resolution cloud-init: -> Package mariadb.x86_64 1:5.5.68-1.amzn2 will be installed cloud-init: -> Running transaction check cloud-init: Loaded plugins: extras_suggestions, langpacks, priorities, update-motd Verifying : mysql55-5.5.62-1.23.amzn1.x86_64 3/3Īny recommendations on how to proceed with resolving this issue ? Install 1 Package (+2 Dependent packages) Loaded plugins: priorities, update-motd, upgrade-helperĮxisting lock /var/run/yum.pid: another copy is running as pid 2089.Īnother app is currently holding the yum lock waiting for it to exit. Snippet of Systems Logs Installing MySQL Packages ![]() However when I SSH into the instance and run a simple mysql command, I get the following error. echo "Installing MySQL client"įurther inspection of the EC2 instance's system logs indicates that the MYSQL client has been installed successfully. In the UserData configuration of my EC2 instances, I have just added the following basic installation commands. While testing the connectivity I am trying to install a MYSQL client on my ec2 instances using the standard yum package installer. I am in the process of setting up a dev environment wherein I am trying to set up connectivity between an amazon linux ec2 instance (in a private subnet) and a MYSQL RDS deployment endpoint (in it's own dedicated private DB subnet). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |