Questions tagged [windows]

Operating system produced by Microsoft. Windows is produced in various desktop and server versions. Please also add a version-specific tag like windows-10 if that is relevant to the question.

Filter by
Sorted by
Tagged with
-2 votes
0 answers
38 views

SQL Server 2008 R2 stuck sometimes [closed]

I am using SQL Server 2008 R2 Enterprise Edition, but due to some reason SQL Server does not respond/connect. Checking the hosted Windows Server - all is ok. After restarting the SQL Service, it ...
user avatar
0 votes
2 answers
28 views

Failing over to DR site Availability group

I have a 4 node cluster SQL 2012 availability group database with one witness server at the primary site. 3 nodes are in the primary site and one node in the DR site. Due to maintenance at the Primary ...
user avatar
  • 1,007
0 votes
0 answers
14 views

Postgres execution times increase exponentially with data volume

I have a table that increases by several million record per day. Initially it's partitioned by day, but a couple of days after creation each daily partition is merged into a monthly partition. The ...
user avatar
1 vote
1 answer
17 views

Postgresql connection timing-out too quickly

I'm running a powershell script on windows that connects to a postgres database. Under normal conditions everything works fine, but I'm trying to make the system more robust, and make everything re-...
user avatar
0 votes
0 answers
51 views

How do you copy the permissions of a certificate to another certificate using Powershell?

How do you copy the permissions of a certificate to another certificate using Powershell? I added a certificate through a pfx file and the new certificate doesn't have the same permissions as the old ...
user avatar
0 votes
0 answers
47 views

Assigning access group to SSL certificate for MSSQL db on Windows

Inside The permission wizard I opened from the certificate snap-in, I see this: Group Allow MSSQLSERVER Full Control None However, I don't see it for my other certificate, which I just created. When ...
user avatar
0 votes
0 answers
169 views

error installing PostgreSQL, Could not find registry key HKEY_LOCAL_MACHINE\

I've been trying install postgres, i try solutions related to WSH, nothing works to me. here's the log Log started 01/19/2022 at 21:06:35 Preferred installation mode : qt Trying to init installer in ...
user avatar
0 votes
2 answers
53 views

3 Node WFCS - How to automatically FO to DR?

I am planning to implement a two-node Windows Server Failover Cluster (WSFC) for SQL Server Always On Availability Group in our main site, and the third node in our DR site. All application clients ...
user avatar
  • 1
0 votes
1 answer
37 views

Does AOAG needs a Windows failover cluster?

I'm reading some windows docs about AOAG and I got confused: Always On availability groups, the high availability and disaster recovery solution introduced in SQL Server 2012 (11.x), requires Windows ...
user avatar
  • 7,100
0 votes
2 answers
86 views

Start PostgreSQL from different data directory on windows

I set up PostgreSQL on my mac and I am trying to share the database files through GitHub to my Windows machine and other users. I know how to start the PostgreSQL Service from a specific data ...
user avatar
0 votes
1 answer
94 views

Any idea what Virtual Machine Cluster WMI is for?

We have a Windows Failover Cluster to host our SQL Server Availability Group. We have a resource that popped up that no one recalls creating named "Virtual Machine Cluster WMI". We have ...
user avatar
0 votes
0 answers
12 views

SqlError: (conn=46, no: 1045, SQLState: 28000) Access denied for user 'Raccoon'@'localhost' (using password: NO)

Im trying to set up one of mariadb's sample application, which is orders(https://github.com/mariadb-corporation/dev-example-orders). When starting the back end part it always shows " SqlError: (...
user avatar
2 votes
2 answers
414 views

pg_dump hangs in Git Bash but works in Windows command line

I tried to make a backup of a database from Git Bash environment, but the executable does not output anything. If I specify the filename using the -f flag, a blank file gets created, so the executable ...
user avatar
  • 153
2 votes
1 answer
205 views

How do I identify the users on Oracle database who uses OS authentication?

I'm trying to audit the privileged users on Oracle Db and see there are users for whom the last login column appears to be blank, however, I'm aware that those user accounts are used for certain ...
user avatar
0 votes
0 answers
30 views

What is the intended method for automatically/streamlinedly updating minor/patch PostgreSQL versions on Windows?

I currently run PostgreSQL 12.4 on Windows 10. Since the "BigSQL" distribution is no longer around, the only choice is to use the EnterpriseDB installer for the initial installation: https://...
user avatar
0 votes
1 answer
56 views

MySQL 8 install doesn't include mysql.exe (Windows)

I've installed MySQL 8.0 using mysql-installer-community-8.0.26.0.msi. Mainly these options: But there's no binaries for connecting (mysql.exe) or dumping (mysqldump.exe): What else do I need to ...
user avatar
  • 101
0 votes
1 answer
83 views

how can resolve a cyclic redundancy check sql

i need to restore a database but i have a strong problem, please look the photo, is a strange error, please helpme
user avatar
0 votes
1 answer
685 views

How can I create a mysql database (if it doesn't exist) or replace it (if it exists)?

My dump: mysqldump --host=localhost --user=root --password=whatever --single-transaction --routines --triggers --log-error=error.txt --databases mydatabase > out.sql My restore mysql --host=...
user avatar
  • 157
0 votes
0 answers
29 views

rotate error log file of MySQL 8.0 server over windows

we have MySQL 8.0 installed over windows and my err log file (.err) is very large (11 GB), so we need to rotate the error loge so it writes to a new file when the current file is 200 MB we tried to ...
user avatar
3 votes
1 answer
183 views

Why putting SQL Agent offline caused WSFC to fail over on passive node?

I have 2 node Windows Failover Cluster with Quorum disk. SQL agent is NOT a resource of the cluster. I needed to enable service broker on the server; for that I need to set SQL Agent offline, run tsql ...
user avatar
  • 637
0 votes
1 answer
364 views

Why can't I use command \i on psql? It says no such file or directory [closed]

I am trying to use command \i 'C:\Users\Public\person.sql'; on windows on psql. And it says C:UsersPublicperson.sql: No such file or directory Although file does exist. I tried to relocate file on ...
user avatar
0 votes
1 answer
107 views

How to run postgres in-memory on windows and sync to FS when a temer runs out?

So Progress is slow for me (in terms of query and update times) on SSD and it is ok in my case: I use it as a mix of Graph database + Table processor + NoSQL JSON trees so lots of loops, graphs, trees,...
user avatar
  • 65
0 votes
0 answers
623 views

Oracle 19c listener stops on connection TNS-12541 error

I have just installed Oracle 19c Standard Edition 2 on Windows 10 and created a local database. I can connect to it with sqlplus / sysdba, but if I try to connect with sqlplus user/password@host:port, ...
user avatar
0 votes
1 answer
273 views

How to Prevent High MariaDB Memory Usage on Windows

I am running MariaDB 10.5 and I am having trouble with it using too much memory on my Windows 10 machine. I have 16GB of RAM, and MariaDB ends up using around 8GB. SHOW VARIABLES; https://pastebin.com/...
user avatar
  • 1
0 votes
0 answers
33 views

Is there a way to purge a DTC transaction from command line?

as you can see on my screenshot, I have a DTC transaction in error on my server. I know, I can Right -> Resolve -> Forget/Abort However, I want to do it with a command line (batch or Powershell)....
user avatar
1 vote
1 answer
74 views

Mysql (win) Is it possible to get databases from multiple drives in the same time?

My question would be, is there any way to read the mysql data folder from different drives in the same time (Windows) ? For example: I have 1TB database from the drive C:, and another 1TB from the ...
user avatar
-1 votes
1 answer
39 views

Best Database to be shipped with my application? [closed]

I have a .NET core application using a database. I need to create an installer using NSIS where I will be packaging my application along with a database, so that the client can easily install my ...
user avatar
  • 99
0 votes
1 answer
40 views

How to configure account to be able to create/delete folders and files?

I have a newly created domain account (domainname\user1). This will be used by SQL server agent job proxy credential to run a SSIS package that creates/deletes files and folders on the same computer ...
user avatar
  • 2,050
1 vote
2 answers
71 views

Why does linked server need delegation where as file access require no delegation settings?

I have a ssis package deployed to ssis catalog in ServerA. It is configured to be run via sql agent job step. The job step is set to Run As proxy user that is pointing to a domain user credential. ...
user avatar
  • 2,050
-1 votes
1 answer
226 views

Linux PostgreSQL mount data from external ntfs disk [closed]

I have similar problem as here: Postgres tablespace on mounted usb I want to have access to my DB on external hard drive from Raspbian and Windows 10. Not simultaneously. I just want cross-platform DB ...
user avatar
  • 1
1 vote
1 answer
843 views

Upgrading Postgres 12 to 13: 'pg_upgrade.exe' fails

I'm attempting to upgrade a Postgres instance from version 12 to version 13, following the steps outlined at https://www.postgresql.org/docs/13/pgupgrade.html. From an elevated command prompt, I'm ...
user avatar
  • 187
0 votes
1 answer
8k views

The pgAdmin 4 server could not be contacted

Whenever I install PostgreSQL, it stops working after about 6 months. This is the second time this happened! Last time this happened, I uninstalled and then installed version 4.29. How can I debug ...
user avatar
  • 1,995
1 vote
1 answer
229 views

Kerberos Issue - Anonymous Login

I have a linked server that connects one SQL Server to another SQL Server. For two weeks now there has been an error when testing the connection; Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. ...
user avatar
0 votes
0 answers
253 views

MariaDB starts from cmd prompt but not as service

Attempting to start MariaDB as a service results in an error that says: Windows could not start the MariaDB service on Local Computer Error 1053: The service did not respond to the start or control ...
user avatar
  • 368
0 votes
1 answer
98 views

Cannot find sqlserver service

I installed Sql Server 2019 in Windows PC. In Sql Server Configuration Manager into SQL Server Service I stopped all the instances. But still I can loggin to Sql Server via SSMS.why is that? Where is ...
user avatar
0 votes
1 answer
87 views

Powershell script while executing mysqldump script

I'm having an error 1045: Access denied for user 'mysqlsuperuser'@'test.internal.cloudapp.net' (using password: YES) when trying to connect Here is the mysqldump command on my ps1 file. $command = [...
user avatar
  • 59
0 votes
3 answers
102 views

Postgres psql requires " FROM database.table" in sql statement [duplicate]

As a beginning learner of of Postgres I have created two different installations of a database where one requires a select statement to use ...FROM database.table... and the other only requires ......
user avatar
  • 135
0 votes
1 answer
151 views

Install PFX certificate on SQL 2008 R2

We have a MS SQL 2008 R2 service running on a Windows 7 computer. I've developed a webapplication that runs on a Digital Ocean droplet. This droplet makes a connection with this computer through a ...
user avatar
0 votes
2 answers
84 views

Do I need a domain controller for multiple PCs accessing the same SQL server db? How do I configure it?

(more details/replicate from: https://superuser.com/questions/1612260) Dear all, I'm a total newbie in connecting 2 PCs and making them use the same SQL server DB from one computer ... so please ...
user avatar
  • 1
1 vote
1 answer
368 views

Cannot Reset MySQL password

I have been stuck on this for a long time, I tried to follow the instructions located here: https://dev.mysql.com/doc/refman/8.0/en/resetting-permissions.html. When I run the commands I get this as my ...
user avatar
  • 13
0 votes
1 answer
88 views

Is there any option to enable Window NT logs in SQL Server Logs

I'm trying to view SQL Server logs on a specific server and is missing Windows NT section in same. Though other server are showing that section. In the screenshot shared below, I highlighted section ...
user avatar
1 vote
0 answers
96 views

What's the problem with my password while installing Apex 20.1?

I am installing Apex 20.1 on my windows 10 with oracle 19c. After running the command : @apxchpwd.sql I get this error even after respecting all the password regulation and trying different ...
user avatar
0 votes
1 answer
55 views

T-SQL code to see Windows Folder access

Does anyone know how to check from T-SQL code in a stored procedure if a SQL user have read access to a WIN folder that is mapped to the SQL server? Thx Erik
user avatar
  • 1
0 votes
0 answers
17 views

MySQL only supported on Windows - 3rd party vendor

We have a 3rd party vendor currently indicating that their application only supports MySQL on Windows, and cannot work with MySQL on Linux or RDS. As far as I know, MySQL is MySQL, it doesn't matter ...
user avatar
  • 1
0 votes
1 answer
482 views

How to store and work from a Postgresql database on an external hard drive?

I have installed PostgreSQL 13.1 on two computers, a laptop and desktop. I created database using a Tablespace on a portable SSD drive under F:\MyProject\DB\PG_13_202007201\20350. So I expect all the ...
user avatar
0 votes
1 answer
2k views

Connect DBeaver to PostgreSQL 13

I've been using PostgreSQL 10 and 12 on Windows successfully with DBeaver in the past. Now I've set up a new development machine and installed the current PostgreSQL 13.0.1 and the current DBeaver 7.2....
user avatar
  • 193
1 vote
1 answer
484 views

MySQL no longer starting "An attempt was made to access a socket in a way forbidden by its access permissions." (Windows 10)

I don't think this is another "some other process is using port 3306 rtfm" kinda question. I have been running MySQL 8.0.x fine for a couple of months on Windows 10 for some local python ...
user avatar
  • 121
1 vote
0 answers
237 views

WSL2 Docker Oracle volume mapping: how to switch from Windows to Linux file system

I am running Oracle (V19, V18, and V12) instances under WSL2 (Windows 10 version 2004). For persistence, my Oracle data files are mapped to a folder on my Windows host. I can run the containers from ...
user avatar
0 votes
1 answer
520 views

Cannot connect to Oracle 19 instance running in a container under Ubuntu 20.04 via WSL2 on Docker for Windows

Here is my docker-compose.yml file: version: '3.7' services: database: image: scgain.azurecr.io/databases/${IMAGE_NAME} environment: - ORACLE_SID=${SID} - ORACLE_PDB=${PDB} ...
user avatar
2 votes
2 answers
31 views

How to filters data with two windows conditions?

I want to get the result of two sub-queries. In my case I have users, user can have multiple access for doors, but sometimes doors are disabled so the access exist but do not point to any doors. I ...
user avatar
  • 567

1
2 3 4 5
13