How to install mysql driver on an AWS image

UserBird
Dataiker
How to install mysql driver on an AWS image
I have just launched an AWS instance based on dataiku official images: https://aws.amazon.com/marketplace/pp/B017MTTNFO

I need to connect to a mysql db, but the driver is missing. According to https://doc.dataiku.com/dss/latest/installation/jdbc.html, I need to stop dataiku, place the jar file in the DATA_DIR/lib/jdbc and then restart dataiku.

Dataiku is run, I think, by the dataiku user, but I can not find the dataiku user password and when I try to stop it using root, it does not allow me to do so.

How can I achieve this?

Thanks in advance
0 Kudos
2 Replies
jereze
Community Manager
Community Manager

Hi,



Use the sudo command to switch to dataiku user.



sudo su - dataiku

Jeremy, Product Manager at Dataiku
AdrienL
Dataiker

If you are root and want to perform operations on DSS, you can simply impersonate the dataiku user using the su command (documentation๐Ÿ˜ž




# whoami
root
# su - dataiku
$ whoami
dataiku


You can then stop dss, download the mysql driver, etc.

0 Kudos

Labels

?
Labels (3)
A banner prompting to get Dataiku