Database Restore failed in Windows 10 64 bit
See original GitHub issueSystem information:
- Operating system (distribution) and version: Windows 10 64 bit (version: 20H2)
- DBeaver version: 21.0.5.202105160657
- Java version: JDK 11
- Additional extensions
Connection specification:
- Database name and version: MariaDB 10.5.10
- Driver name: MariaDB
- Do you use tunnels or proxies (SSH, SOCKS, etc)? No
Describe the problem you’re observing:
Restore database always has errors.
Error executing process
Cannot run program "C:\Users\Tom\AppData\Roaming\DBeaverData\drivers\clients\mysql\win\mysql.exe" (in directory "C:\Users\Tom\AppData\Roaming\DBeaverData\drivers\clients\mysql\win"): CreateProcess error=193, %1 is not a valid Win32 application
Cannot run program "C:\Users\Tom\AppData\Roaming\DBeaverData\drivers\clients\mysql\win\mysql.exe" (in directory "C:\Users\Tom\AppData\Roaming\DBeaverData\drivers\clients\mysql\win"): CreateProcess error=193, %1 is not a valid Win32 application
CreateProcess error=193, %1 is not a valid Win32 application
CreateProcess error=193, %1 is not a valid Win32 application
Steps to reproduce, if exist:
- Backup a database by tools dump: Right-click on the database → Tools → Dump Database → example.sql
- Restore another database by tools restore: Right-click on the database → Tools → Restore Database → Choose the example.sql script
- A window to show errors
Include any warning/errors/backtraces from the logs
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
[Error Solved] SQL Database Restore failed, database in use
Summary: This blog will describe solutions to fix the 'SQL database restore failed, database in use' error.
Read more >SQL Server backup and restore operation issues
This article troubleshoots SQL Server backup and restore operation issues, such as the operation taking a long time, issues between ...
Read more >6 Ways to Fix SQL Server Restore Failed Database in Use
6 Ways to Fix SQL Server Restore Failed Database in Use · 1. Press Win + R and enter “services.msc” in the text...
Read more >Fix System Restore Failed and Did Not Complete Successfully ...
Another reason for System Restore failed and did not complete successfully error is system file corruption. You can try to run sfc to...
Read more >Error restoring database backup - sql server - Stack Overflow
Sounds like the backup was taken on a machine whose paths do not match yours. Try performing the backup using T-SQL instead of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Nice to hear)
Hi @kseniiaguzeeva, you are right. I went to the file directory and try to run .exe file manually, it can’t run. I was deleted the
C:\Users\Tom\AppData\Roaming\DBeaverData\drivers\clients\mysql\win\mysql.exe
file and ran restore again. It’s working. Thanks for your support.