aws安装mysql,是否需要安装mysql的AWS EC2如果我使用AWS的RDS数据库实例?

I have trying to configure AWS server myself.

Using

Info1:EC2 as hosting and select Ubuntu 14 as OS and install Apache PHP and i have check that it php and http works.

I have install Apache and php using below commend

sudo apt-get install apche2 php5 libapche2-mod-php5

Info2: Rds as mysql database instance. it is working

Now i have put a ambc.sql on ec2 system and tryingimport it to MySQL-rds system

Please the screen shot:

Issue1:

when we trying to import sql from EC2 it show error The Program 'mysql' can be ...see the screen shot

x5nYx.png

Issue2: is need to install some MySQL or PHP to library which will connect EC2w with Rds and running the system.

Please help me anymore.it immediate.Thanks in advance

解决方案

You need to install mysql command line client. The info is already there in the screenshot. You need to install mysql-client-core-5.5 or mysql-client-core-5.6 depending on your RDS MySQl version.

So, you may want to run something like below to install these packages:

# apt-get install mysql-client-core-5.5

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值