Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I am new to MySQL and linux and also AWS. Previously i have worked with windows azure and .NET framework.

Currently I am trying to get DBT2 benchmark to run for AWS RDS for MySQL. I was able to connect to RDS with shell command line from MySQL. But i was not able to configure or install the benchmark on the DBInstance.

To configure the dbt2 one needs to run shell script on the system. So far i have 'cd' to directory where files for dbt2 are located. But when i try to run './configure' it gives error that "'.' is not recognized as an internal or external command, operable program or batch file." Same error if i use 'sh ./configure'.

I am just a starter in this, is there something i am doing wrong?

How can i even run any shell script on AWS RDS system?

Any help is appreciated.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

It is not possible to run shell scripts, install other software, or do any kind of serious administrative tasks on Amazon RDS.

In an RDS environment, you're completely isolated from the operating system and from administration of the actual system that is running MySQL for you. Your RDS instance is an opaque black box that you can only communicate with via the MySQL command line client, and even that is not likely to be what you think it is.

I was able to connect to RDS with shell command line from MySQL.

That's good, but that's not the same thing as being at a "command shell" or "command prompt" on the underlying server, which is where you would need to be to install DBT2 or any other utility, and this is not allowed with RDS.

The mysql command line client is, fundamentally, just a tool that allows you to craft queries, issue them to the server, and see the responses. The underlying protocol is exactly the same protocol that your applications use to issue queries and retrieve results from the server. What it can do isn't all that different than connecting with Workbench, Query Browser, Toad, HeidiSQL, or any other graphical MySQL administrative tool. It just isn't graphical.

So far i have 'cd' to directory where files for dbt2 are located.

If you are saying you have 'cd' into a directory on the RDS instance, then, no, you haven't. That's not possible. Perhaps on your local machine, which explains why you are seeing a Windows error message.

C:\Users\Sqlbot>./configure
'.' is not recognized as an internal or external command,
operable program or batch file.

I am a big fan of AWS, a huge fan of MySQL (of course), but not as much of RDS, because I do not generally see being "relieved" of the "burden" of administering my systems as a positive thing, and I don't like the things I am restricted from doing. On the other hand, I am moving forward with plans to migrate some of my production systems to RDS -- but only the systems that with more mundane database requirements, systems which don't leverage some of the more creative things I do with MySQL.

But I don't want my comments to be taken as anti-RDS. I realize that to provide a managed, hosted service like they are doing, they have little choice but to lock things down... I just wish some things weren't locked down quite so tightly. My solution so far is to run MySQL on EC2 and set it up myself, but I digress.

If you are trying to learn to administer MySQL (in depth) and Linux (at all), RDS will severely limit you.

share|improve this answer
    
So no shell script on RDS. How can i test the performance of RDS? –  Ruchit Rami Dec 20 '12 at 5:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.