Problems with postgreSQL on ubuntu 12.10 - postgresql

I am a new postgresql user and I am trying to open an new account on this
database technology. As I was trying to open a new server I cannot create a database within this server. It says an error when I try to open that up.
Could you please tell whats wrong with this.
I do the following steps.
I create an account as this:
Despite this the server does not get created.
Is there something wrong with configuration of this server.
This is the error which says
Thank you in advance
Vangjush

The service is not the IP address of the server: http://www.pgadmin.org/docs/dev/connect.html
I'm no expert, but I believe the service is a shorthand for specifying other connection parameters. It's most simple to establish connections at first by specifying the values directly, so just leave that blank.
http://www.postgresql.org/docs/9.2/interactive/libpq-pgservice.html

Related

PowerBI Error : Details: "PostgreSQL: 28001: Cannot connect to the server company.onmicrosoft.com"

I was working on a PowerBI report which I initially connected with the PostgreSQL on the Azure Cloud.
I was able to import the data and work on it till recently. I had whitelisted my earlier IP and hence connection was smooth. Today When I tried to connect from new IP (I have whitelisted this New IP as well) but it is not working. I am getting the following error. Not sure what should be done to continue working with the same report.
Details: "PostgreSQL: 28001: Cannot connect to the server company.onmicrosoft.com"
When I go to edit settings I am not able to change anything there as well. Not sure what should be done. Can Anybody please help on this.
I tried the following but nothing worked
Searched for Answers on PowerBI Community
Searched for Answers on Stack over Flow
Tried to change Internet connection
Whitelisted all possible IP on Azure PostgreSQL
Restarted the server on Azure PostgreSQL
Hi I finally figured out the solution to this problem so thought of posting it here so that it may help others who are stuck with similar problem
So this is what I did,
I checked the credentials it was all fine but I re-entered the server name and added :5432 its Port number in front of the server name.
Then it again asked for username and password, that I provided and it got connected to the data source very well.
Finally after hours of trial and error the issue got resolved

Why does the Snowflake PUT command throw error 253003?

Using snowflake-connector-python 2.4.3, we're able to connect and execute DML & DDL successfully. But the put command throws this error:
snowflake.connector.errors.OperationalError: 253003:
253003: <urllib3.connection.HTTPSConnection object at 0x7f2dbd5784a8>:
Failed to establish a new connection: [Errno -2] Name or service not known, file=/tmp/tmpwh9m7__x, real file=/tmp/tmpwh9m7__x
We can manually put files to the specified stage using SnowSQL client. Does the put command create its own connection separate from the connection & cursor we've already created in python? Does put require a specific outbound port opened through our firewall? I assumed everything is going through port 443 (https).
I’m also facing same error in Linux with specific user. Trying to figure it out, why snowflake put not able to use the tmp location as user has full access on that tmp dir.
By the way, if I use any other uses, I’m able to complete this task. So please check if the user has right permissions.

Error connecting Excel to Dashdb

I wanted to connect excel to my bluemix dashdb . I found and followed the directions in the IBM knowldegebase at Article. But am getting the connection error message box when attempting to open the BLUExcel.odc file as recommended in the article. The error I see basically states:
SQL30081N A communication Error has been detected. Communication protocal is tcp/ip. API used is sockets....Protocol specific error code 10061.
Investigation of the specific 10061 error did not resolve the issue.
Interestingly I couldn't connect Excel to any of my dashdb databases so thought I would have a look at the BLUExcel.odc file that gets generated as part of the process.
In there I found the connectionstring had
Hostname = localhost
so I changed this to the hostname that you find in the Connect tab of the dashdb instance you want to connect to and it works fine. Hope this helps someone else..

Not able to migrate the data from Parse to local machine

as some of you might aware about the shutting down of parse service in about a year, i am following the migration process as per their tutorials. However, i am not able to migrate these data from parse to local database(i.e. mongodb).
I've started the mongodb instanse locally on 27017, and also created an admin user as part of migration based on these tutorials. Reference-1 & Reference-2.
But when i try to migrate the data from parse developer console, i get No Reachable Servers or Network Error & i don't understand why. I have doubt in the Connection string that i use for this but i am not sure, please find the following image.
I am new to mongodb so don't have much idea about this, your little help would be greatly appreciated.
Since the migration tool runs at parse.com, the tool needs to be able to access your MongoDB instance over the Internet.
Since you're using a local IP (192.168.1.101), parse.com cannot connect to your IP and the transfer will time out.
Either you need to make your MongoDB reachable from the Internet, or you can - as they do in their guide - use an existing MongoDB service.

MySQL Workbench failed to connect

I can't figure this one out. I can't connect to a server using MySQL Workbench, I tried any kind of connection methods. The error message I get is
Failed to Connect to MySQL at AT 127.0.0.1:3306 with user root
Invalid for this platform protocol requested(MYSQL_PROTOCOL_SOCKET)
I ran into the same problem, in my case I originally created the connection with the "Local Socket/Pipe" option selected in the "Connection Method" drop down. Trying to switch back to "Standard (TCP/IP)" did not work and caused the error mentioned by OP. I had to delete the connection and start over by selection "Standard (TCP/IP)" from the start. The connection was successful after that.
To solve this problem you must check the "Others" field in Advanced tab
If you had the connection stored with a socket option you will find a "socket=." (or anything similar)
Delete it
e.g. http://prntscr.com/k63pua
This is a very unusal error message which I haven't seen before, especially on Windows. It has probably to do with how the server is installed. As a newbie it would definitely be the best choice to use the Windows Installer for all required parts. This will install the server properly too.
By using xampp you are on your own to check whether a server is installed and running as a service, as well as the proper configuration. For troubleshooting watch my video on Youtube where I tried to explain most common pitfalls for beginners.
Note: you can open the connection without actually being connected. In that case MySQL Workbench allows to do all those things that don't require a valid server connection, e.g. log file viewing, config file editing, service start/stop etc. Use this to check your server's configuration. Make sure it accepts TCP/IP connections (there's also a short section in the video about this).
Update:
Downvoter, please add a comment why you think my answer is bad.
Re-reading the error message I got another idea: could it be that you used local socket/named pipe for the connection? If so try with normal TCP/IP.