on 2017 Oct 27 12:09 PM
I have an ASA 8 db file that I want to extract data from using linux (with command line).
I didn't find ASA 8 driver for linux, so I tried running the following command to unload the db to a new ASA db file version, so I can extract data from it with the newer ASA version that I do have (version 17).
unfortunately I got this error:
Command:
dbunload -an new.db -c "dbf=old.db;uid=dba;pwd=sql"
Error:
SQL Anywhere Unload Utility Version 17.0.0.1063 Connecting and initializing ***** SQL error: Unable to start database server
I'm struggling with this problem for days, please help 🙂
Request clarification before answering.
The dbunload utility should be able to read the ASA 8 database without starting a separate dbeng8 server... at least that's the way it works on Windows.
You may be able to convert the following Windows command file to Linux. It upgrades the ASA 8 demo database to SQL Anywhere 17:
REM If you're a command-line kinda guy, here is my template Windows REM batch file run_dbunload_upgrade_v8_to_v17.bat. It does the REM unload-reload-all-in-one-dbunload-step, then starts dbeng17 REM and dbisql so you can make sure the new database is up and running. REM Be sure to stop *all* database engines on the computer you're using, REM before starting the upgrade. REM dbunload... REM -an ... where to put new database REM -ap ... new database page size REM -c ... old database startup connection string REM -o ... where to put unload console display text file REM -v verbose mode for console display PAUSE MAKE SURE YOU DO NOT HAVE ANY ENGINES RUNNING. "%SQLANY17%\\bin64\\dbunload.exe"^ -an asademo17.db^ -ap 4096^ -c "DBF=C:\\Program Files (x86)\\Sybase\\SQL Anywhere 8\\asademo.db;UID=dba;PWD=sql"^ -o dbunload_log_asademo.txt^ -v PAUSE dbunload/reload done... "%SQLANY17%\\bin64\\dbspawn.exe"^ -f "%SQLANY17%\\bin64\\dbeng17.exe"^ -o dbeng17_log_ddd17.txt^ asademo17.db PAUSE dbeng17 started... "%SQLANY17%\\bin64\\dbisql.exe"^ -c "ENG=asademo17;DBN=asademo17;UID=dba;PWD=sql" PAUSE dbisql running...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
16 | |
10 | |
7 | |
7 | |
4 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.