Has anyone successfully connected Geogig to an Oracle Database? - gis

The Geogig (formerly Geogit) documents here specify that it can connect to an Oracle Database, but I am having trouble doing so. I am using geogig on Ubuntu 14.04 My attempt to connect and the response is below.
cfrugard#xxxxx:~/geogig/osp$ geogig oracle list --host nyorapdb02 --port xxxx --database xxxx --user xxxx --password xxxx --schema xxxx
Error validating the database connection

Related

XAMPP and hidden service MYSQL DB cant connect

I am trying to remotely connect to my hidden service MySQL DB
mysql -u root -p -h 127.0.0.1 connected
works fine on local host
I am following this tutorial on reddit:
/r/TOR/comments/222bum/running_mysql_as_a_hidden_service/
I have xampp running on Ubuntu and and tor MySQL listens to port 3306 and Apache on 80
I am trying to connect to my DB remotely with command:
proxychains mysql -u root -p -h http://xxxxxxx.onion DBNAME
Getting this error:
ERROR 2003 (HY000): Can't connect to MySQL server on
'http://xxxxxxxxx.onion' (111)
tried this with socat
socat TCP-LISTEN:3308 SOCKS4A:127.0.0.1:xxxxj.onion:3306,socksport=9050
or
socat TCP-LISTEN:3308 SOCKS4A:localhost:xxxxj.onion:3306,socksport=9050
did not work in tor panel it says but only when i try to proxychains mysql -h 127.0.0.1 -u user -p P 33606
Sep 26 18:43:09.000 [warn] Rejecting SOCKS request for anonymous
connection to private address [scrubbed].
thanks for reply but still cant get it to work
root:/var/lib/tor/hidden_service$ proxychains mysql -u user -h TOR.onion database -p
ProxyChains-3.1 (http://proxychains.sf.net)
Enter password:
|DNS-request| TOR.onion
|S-chain|-<>-127.0.0.1:9050-<><>-4.2.2.2:53-<><>-OK`enter code here`
|DNS-response| TOR.onion is 104.239.213.7
|S-chain|-<>-127.0.0.1:9050-<><>-104.239.213.7:3306-<--timeout
ERROR 2003 (HY000): Can't connect to MySQL server on 'TOR.onion' (111)
GRANT ALL ON Databasename.* TO 'user'#'127.0.0.1
getting some error in console phpmyadmin SQL error
i m prety new to this any help is appreicated
mysql workbench works fine on localhost but when trying to add the onion instead of localhost it dosent work:******
Any suggestions thanks
Change your interface to 0.0.0.0 so external connections can happen (bind-address=0.0.0.0 in my.cnf or equivalent)
GRANT access to the external IP in MySQL: GRANT ALL ON <DB>.* TO '<user>'#'<external_ip>';

gentoo connect to external mysql

how can help me to connect to external mysql?
system:
cat /etc/gentoo-release
Gentoo Base System release 2.3
mysql -h vpsxxx.ovh.net --port=12000 -u userxxx -p
Enter password:
ERROR 1042 (HY000): Can't get hostname for your address
mysql -h 149.xxx.xx.xx --port=12000 -u userxxx -p
Enter password:
ERROR 1042 (HY000): Can't get hostname for your address
From another system with windows and Debian working this adress perfekt.

mysql connect hang(remote connect)

Hi when I try to connect remote mysql
mysql -u root -p xxxx -h xxxx -P 80
mysql: [Warning] Using a password on the command line interface can be insecure.
then I hang at here
Does anyone knows how to slove this
In your command you are specifyng port 80. By default MySQL works on port 3306.

Mongo Restore shows no Reachable servers error in sharded cluster environment on AWS?

Can someone help me as I am stuck in this problem for many days. My client created a remote database in a sharded cluster environment on AWS and he gave me credentials to access. I am able to connect to the remote cluster database using mongo shell. I have dumps available which need to restore on remote DB but when I ran the below command on mongo shell it shows me error:
mongorestore --host Test-shard-0/test-shard-00-00-fk4je.mongodb.net:27017,test-shard-00-01-fk4je.mongodb.net:27017,test-shard-00-02-fk4je.mongodb.net:27017 --db admin --username jeff --password jeff11 dump/staffing/companies.bson
Error: Failed: error connecting to db server: no reachable servers.
Though, I am able to connect to database easily using mongo shell and see the databases/collections but can't figure out why mongorestore not working. Tried different things but every time above error appears.
Aren't you missing the --port 27017 part. According to the documentation
mongorestore --host mongodb1.example.net --port 37017 --username user --password pass /opt/backup/mongodump-2011-10-24
this is the example of restoring document.
--ssl flag was missing from command.
mongorestore --host Test-shard-0/test-shard-00-00-fk4je.mongodb.net:27017,test-shard-00-01-fk4je.mongodb.net:27017,test-shard-00-02-fk4je.mongodb.net:27017 --db admin --ssl --username jeff --password jeff11 dump/staffing/companies.bson

Unknown MySQL server host amazon rds

I'm using linux command line to access amazon rds mysql, however, i keep getting the Unknown MySQL host error.
here is the command:
mysql -uxxx -pxxxx -hmydb.xxxx.us-west-2.rds.amazonaws.com:3306
I have added MySQL rule in the security group, but it still does not work.
Or try:
mysql -u xxx -p xxxx -h mydb.xxxx.us-west-2.rds.amazonaws.com --port=3306