Connecting to DB2 LUW 11.5 database (running on docker)
since a few days I got the following:
An error occurred while establishing the connection:
ERRORCODE=-4214, SQLSTATE=28000 Password expired
the connection to a postgresql database via Davis works fine
Thanks in advance
Related
I'm trying to connect to an external database (System DNS) from my server (Windows Server 2012 with DB2) and I'm getting the following error:
"The database alias or database name "" was not found at the remote node"
Could somebody help me with this connection?
Thank you
I have kind of simple issue but fail to resolve it.
Here's the issue: I have SQL Server Express 2014 installed on my PC. I have to use SQL Server authentication because it should work when network is down. As sa I created login and user e.g. user1. Then as user1 I created DB e.g. db1 and a few tables. Now I could login into db1 as user1 using SQL Server authentication. The problem is that this db1 will be used by application e.g. app1. This app1 has configuration file that has all credentials and other connection strings things. Well when I start that application it throws error "Can't connect to database". Then I look into log and see this: Error: 18456, Severity: 14, State: 8. Login failed for user 'user1'. Reason: Password did not match that for the login provided [CLIENT: .
Then I could disable credential check in configuration file of app1 and then I don't have problem to start app1 but I have to use credential check.
Then I tried to created ODBC connection and use the same credentials and I succeed to connect.
Could some give the idea what could be wrong and I can't connect to db1 from my app1?
Thanks
All set, Thanks for info. I installed client 2008 R2 and now it's working. The problem was with the type of authentication. In my case it was equal 'true' and expected exact SQL user password which I was not able to pass because it was encrypted. When I change the type to 'false' it started to use Windows authentication and that resolved my problem.
Ticket could be closed
Hello guys,
i am unable to connect mysql workbench with windows azure sql database so i can manage the DB from PC without issues.
Is their a way to do it.. ? or is their an option or alternative to achieve my goal ?
Please help me regarding my query ! Thanks a lot :)
UPDATE:
Here is the error code i am getting:
[Window Title]
MySQL Workbench
[Main Instruction]
Cannot Connect to Database Server
[Content]
Your connection attempt failed for user 'username' from your host to server at xxxxxxxxx.database.windows.net:1433:
Lost connection to MySQL server at 'waiting for initial communication packet', system error: 10060
Please:
1 Check that mysql is running on server xxxxxx.database.windows.net
2 Check that mysql is running on port 1433 (note: 3306 is the default, but this can be changed)
3 Check the username has rights to connect to xxxxxx.database.windows.net from your address (mysql rights define what clients can connect to the server and from which machines)
4 Make sure you are both providing a password if needed and using the correct password for xxxxxxx.database.windows.net connecting from the host address you're connecting from
[Close]
Your server is xxxx.database.windows.net, so you are using SQL server, not MySQL server.
MySQL server format is: xxxx.mysql.database.azure.com.
You should use a MySQL server if you want to connect to MySQL Workbench.
I have a strange issue. I can connect from one Terminal server to the SQL server as an admin. I can also connect to the server via a straight SQL connection as a normal user. When I try and log on to the server using odbc I receive the following error.
07/08/2011 10:49:14,Logon,Unknown,Login failed for user ''. Reason: An attempt to login using SQL authentication failed. Server is configured for Windows authentication only. [CLIENT: 10.0.0.25]
07/08/2011 10:49:14,Logon,Unknown,Error: 18456 Severity: 14 State: 58.
The SQL server is definitely in mixed mode and a user is definitely set up in the connection. It must be a permissions issue.
Probably the user that tries to login does not have permission to the database he/she is trying to connect.
Go to the SQL Server > Security > Select the User - Right Click > Properties > User Mapping
And there select the database that user needs to access (check box in the map column)
I'm pretty sure that error had happened to me before that that's how I fixed it. Assuming it is true that your server is setup as mixed mode already.
If your using ado.net, make sure your using the ODBC data adapter, connectors and odbcCommands instead of the SQL ones. ;)
When I am trying to connect to the localhost, there is no problem. But when I am connecting to my server, I am getting this error.
[08S01][MySQL][ODBC 5.1 Driver] Lost connection to MySQL server at ‘reading initial communication packet’, system error: 2
Please tell me how to work around this.
I have tried with MySQL ODBC Drivers, both 3.51 and 5.1 drivers.
An ODBC connection to MySQL cannot be made through HTTP (or PHPMyAdmin).
How are you trying to connect?
Edit: time-out may also be an issue. Change the connect_timeout global variable to 30
seconds (or some other 'long' time) and see whether that helps.