I need to create MYSQL connection through ODI with JDBC connection but I need some help for do this. according to ODI topology I have to fill this JDBC URL with my info:
jdbc:mysql://<host>[:<port>]/[<database>]?relaxAutoCommit=true[&<property>=<value>...]
my DB info is:
ip address: 10.5.6.77
port:3304
username: root
password: rewcvt4567
database name: accdb
my os info is:
ip address: 10.5.6.77
port:22
username: root
password: dfrtvb6784
I should say, SSh tunnel has been enabled on my server.
All you have to do us just fill this with host, port and service name
jdbc:mysql://[:]/[]
in your case it will be
jdbc:mysql://10.5.6.77:3304/accdb
in definition connection fill it with
username: root
password: rewcvt4567
Related
When I tried to use navicat to connect mysql on AWS, it always reject the connection.
I'm sure my IP address is correct and the port is correct as I checked on EC2 for several times. Also the username and password are correct too because I can log in mysql on EC2.
I don't know what is wrong here. Any help would be really appreciated.
The first thing that will validate is that your instance of aws has active the port to which you want to connect in this case 3306 if it does not work with this you can connect by means of a SSH of the following way remembering that it has to have active the port 22:
Configure the ssh option
host: add the one that EC2 gives you e.g. ec2-127-0-0-1.compute-1.amazonaws.com.
Port: 22.
user: ubuntu or root (or the one indicated in your aws configuration).
Authentication Method: public key.
Private key: your .pem
In general:
Connection Name: whatever you want
Host: localhost or 127.0.0.1
Port: 3306
User: the database user
Pass: the database user.
I saw many threads on forums and Stackoverflow about this issue but none were addressing in a way that worked for me.
I used the following credential on my host computer (using Sequel Pro) to log in homestead MySQL as documented:
host: 127.0.0.1
username: homestead
password: secret
It says that "Unable to connect to host 127.0.0.1, or the request timed out".
I then tried to log using ssh:
MySQL host: 10.0.2.15
Username: homestead
Password: secret
Port: 3306
SSH host: 192.168.10.10
SSH user: vagrant
SSH Password: ~/.ssh/id_rsa
I got "Connection failed: Your password has expired. To log in you must change it using a client that supports expired passwords."
I then followed this to change my password.
homestead ssh
mysql -uhomestead -psecret
SET PASSWORD = PASSWORD('secret');
That fixed my problem as I was now able to connect from ssh as described above.
I am new to AWS RDS and I am trying to connect MySQL workbench to the instance on AWS. I want to have full admin access in the Database.
Connection Method: Standard TCP/IP over SSH
SSH Hostname: (AWS given endpoint)
SSH UserName: (not sure which user name they are asking for...ec2 or root?)
SHH Password:
SSH Keyfile: assuming this is the .pem file from AWS
MySQL HostName: 127.0.0.1
MySQL ServerPort: 3306
username: mysql username
password: mysql username password
Very new to this so any help would be greatly appreciated!
Thanks,
OK_Sooner
Be sure that security group of your instance accept connections from your ip. And as John Rotenstein said - you don't need to connect by ssh. Just connect to port 3306.
I've created a MySQL server in my local machine with default settings. Now I'm trying to connect to that Database with Oracle Sql Developers with
Connection Name: mySQLDB
Username: root
Password: ******
Connection Type: Basic
Hostname: localhost
Port: 3306
SID:____
I'm not sure what the SID would be, by default its xe., I've tried using this it won't work.
Here is the error my getting.
Status : Failure-Test failed: String index out of range: 14137
Could someone please help me out in connecting to the database in MySQL servers.
Trying to connect to a database using the mysql2 gem through a VPN.
I'm connected to the VPN, and can access secure pages via browser. I have the following info:
server: ###-*********
ip: ###.###.##.###
port: ####
username: ********
password: ********
schema: ***********_***
And the gem wants:
username (check)
password (check)
host (?)
port (check)
database (?)
I've tried putting the ip as the host and using schema and server for database, but it won't connect.