Using RDS token returns connection refused
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- aws, mysql, php
- Domain
- authentication, backend, databases
Research direction
No source files or tests are identified. Start by comparing the PDO and mysqli connection paths described in the report, then check the AWS RDS IAM token requirements and the connection parameters each path receives. Done means the PDO-specific cause and a reproducible supported configuration are established.
Written by the indexing model from the issue text.
Description
Hi, I'm having issues connecting to and RDS using token authentication
The error reported by the server was: SQLSTATE[HY000] [1045] Access denied for user 'iam_user'@'xx.xxxx.xx.xxx' (using password: YES)
So far my investigation down to:
- Connect by using user and password (no the generated RDS token ) - works
- Connect by using user and RDS token - does not works
- Run a test using php mysqli instead PDO with (user and RDS token) - works
Example of token generated:
myDatabase-dev-cluster.cluster-cwujoxa2wlgn.us-east-1.rds.amazonaws.com:3306/?Action=connect&DBUser=iam_user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKLIOLRyTos5FYBGXRKLA%2F20200314%2Fus-east-1%2Frds-db%2Faws4_request&X-Amz-Date=20200314T031933Z&X-Amz-SignedHeaders=host&X-Amz-Expires=900&X-Amz-Signature=a7373b21f52361addef02848382yg1232c538c730f1273d35fe84af947a12d2
I am wondering if a PDO issue and if is possible to use RDS Token with datatable somehow
- Dominant language
- PHP
- Stars
- 36
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DataTables/PHP
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
DataTables/PHP#48 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
DataTables/PHP#43 · 3 comments ·
-
Group BY Open
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
DataTables/PHP#40 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
DataTables/PHP#38 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
DataTables/PHP#4 · 2 comments ·
Similar issues
-
tooling
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
UX
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
ProfessionalWiki/NeoWiki#1525 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
OpenConext/OpenConext-engineblock#2122 ·
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Automattic/safe-publish#594 ·