amazon-rds

Node-Mysql throwing connection timeout

你离开我真会死。 提交于 2019-12-09 17:38:44
问题 My node.js app gives 5xx due to connection timeouts at random times. Here's how I connect and query: var mysql = require('mysql'); var config = { host: '172.10.1.1', port: 3306, user: 'user', password: 'pwd', database: 'mydb', connectionLimit: 15, queueLimit: 30 } var poolCluster = mysql.createPool(config); var queryDB = function(query, cb) { poolCluster.getConnection(function(err, connection) { if(err) { cb(err, null); } else { connection.query(query, function (err, rows) { connection

How to 'switch' from MySQL to Amazon RDS with minimal application impact?

孤街醉人 提交于 2019-12-09 14:40:46
问题 Amazon officially states: "Amazon RDS gives you access to the full capabilities of a familiar MySQL database. This means the code, applications, and tools you already use today with your existing MySQL databases work seamlessly with Amazon RDS." I don't get this. Amazon RDS is accessible via web services and there a client libraries (like the one for .Net). So if I have an existing .Net application that uses a DAL which in turn queries MySQL, how can I make the same DAL talk to the Amazon RDS

AWS RDS SQL Server unable to drop database

Deadly 提交于 2019-12-09 09:32:05
问题 I tried to migrate a SQL Server database by Export Data-tier Application ( .bacpac file) from an Amazon RDS instance to other, but import didn't succeed. So now I want to delete the database (which is empty), when I try to: DROP DATABASE mydatabase; I get the error: Cannot drop the database 'mydatabase', because it does not exist or you do not have permission Some context: I've tried using SQL Server Management Studio, and choosing close connections: same error. I'm logged as master user. I

Which RDS instance type has better IO: Extra Large DB Instance or High-Memory Extra Large Instance

a 夏天 提交于 2019-12-09 06:12:30
问题 I am getting IO performance concerns with Amazon RDS using mysql 5.5.12. There are 2 instance types that are similar and close in price: Extra Large DB Instance: 15 GB of memory, 8 ECUs (4 virtual cores with 2 ECUs each), 64-bit platform, High I/O Capacity (MySQL DB Engine Only) ($0.88 per hour) High-Memory Extra Large Instance 17.1 GB memory, 6.5 ECU (2 virtual cores with 3.25 ECUs each), 64-bit platform, High I/O Capacity ($0.65 per hour) Does anyone know if the Extra Large DB has faster IO

NewSQL versus traditional optimization/sharding [closed]

爱⌒轻易说出口 提交于 2019-12-09 05:22:03
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . We're a small startup with a write-heavy SAAS app and are (finally!) getting to the point where our usage is presenting scaling issues

Oracle.ManagedDataAccess to AWS RDS DB - TCPS: Invalid SSL Wallet (Magic)

杀马特。学长 韩版系。学妹 提交于 2019-12-09 01:17:10
问题 I am trying to connect to a Amazon RDS instance via the Oracle.ManagedDataAccess Nuget package using a SSL certificate. I can connect successfully via SQL*Plus using a wallet generated using orapki. Wallet generated by following the AWS instructions I want do the same via Oracle.ManagedDataAccessin C# and I am trying to use the same wallet. My C# looks like this: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Oracle

AWS RDS Parameter Group not changing MySQL encoding

余生长醉 提交于 2019-12-08 22:21:31
I am running a MySQL database on RDS. I want to change all of my encodings to utf8mb4 . I created a parameter group on RDS with all character_set_* parameters as utf8mb4 , assigned it to my RDS instance, and then rebooted the instance. However, when I run SHOW VARIABLES LIKE '%char%' on my DB, there are still values of latin1 , which I do not want: character_set_client latin1 character_set_connection latin1 character_set_database utf8mb4 character_set_filesystem binary character_set_results latin1 character_set_server utf8mb4 character_set_system utf8 character_sets_dir /rdsdbbin/mysql-5.6.22

SQL Server Reporting Services for Amazon RDS

扶醉桌前 提交于 2019-12-08 16:14:21
问题 Recently, we have migrated a business application database to Amazon AWS SQL Server RDS. We have loved the flexibility of backup and scaling with the cloudified database, but we have need for writing reports for our gathered analytics data. Our in house data analyst is most comfortable using SQL Reporting Services. Normally, this is installed as a component with the SQL Server install, but we obviously do not have that option on RDS. My question is, has anyone been able to successfully deploy

can't connect to mysql on AWS RDS (error 2003)

a 夏天 提交于 2019-12-08 14:52:07
问题 I'm in trouble on setting up a MySQL RDS. From my EC2 instance I can connect fine, but from my laptop I get error 2003 (timeout). My RDS instance is configured to be publicly accessible. My security group has a rule inbound and outbound to allow all traffic everywhere (0.0.0.0/0). Should I configure something on my VPC or Internet Gateway? 回答1: As your security groups are wide open, my guess is that your LAN is blocking outbound traffic on port 3306. Infact, looking at this support page (

Amazon RDS unable to execute SET GLOBAL command

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-08 14:40:08
问题 I am using Amazon RDS for mysql db. I want to run some SET commands for eg: SET GLOBAL group_concat_max_len =18446744073709551615 But when I run this command I get this error ERROR 1227 (42000): Access denied; you need (at least one of) the SUPER privilege(s) for this operation When I try to add privileges, it does not allow me to add. Any help or inputs? 回答1: Amazon does not give you SUPER privileges on an RDS instance (to prevent you from breaking things like replication accidentally). To