Error occured in setting database connection .

Questions about Wine on Linux
Locked
deep forest
Level 2
Level 2
Posts: 45
Joined: Tue May 31, 2016 4:57 pm

Error occured in setting database connection .

Post by deep forest »

Hi , everyone .
I want to install Windows apps on the Debian GNU Linux .
When I installed one of them , Error message appeared and couldn't install the Windows app.

Error occured
Error occured in setting database connection . Error=gda-2
Please select database file with name .mdb .

Then , I tried to select the .mdb file and open it .
But the error message appears , again .

Error occured
Error occured in setting database connection . Error=gda-2
Please select database file with name .mdb .

So , I searched for the solution to solve this situation .
I thought this is mdb mdac problem .
Then , I installed winetricks jet40 , winetricks mdac25 , winetricks mdac28 .

But , after installed them in Wine tricks , the same error message appears and I can't install the Windows app .

I don't know the solution how to do about this ERROR fix .
So , If there is person who has great solution knowledge about this error ,
Please HELP Me !!!
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: Error occured in setting database connection .

Post by dimesio »

Wine version? If it's not the latest development release, upgrade.

What app is this, and have you checked the AppDB for known issues/workarounds?
deep forest
Level 2
Level 2
Posts: 45
Joined: Tue May 31, 2016 4:57 pm

Re: Error occured in setting database connection .

Post by deep forest »

Hi , dimesio .
I have checked Wine version .
Wine version 1.6.2
So , I tried to upgrade Wine to 1.8.2 .
I have done sudo apt-get update .
And tried to upgrade wine .
But Konsole panel says Wine is the newest version ...
Should I remove the Wine 1.6.2 before ??


And The app which I want to install is ABbulkmailer .
I have already checked AppDB .
But , I couldn't find any solution ...
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: Error occured in setting database connection .

Post by dimesio »

Use the WineHQ packages. https://wiki.winehq.org/Debian
deep forest
Level 2
Level 2
Posts: 45
Joined: Tue May 31, 2016 4:57 pm

Re: Error occured in setting database connection .

Post by deep forest »

I tried https://wiki.winehq.org/Debian .
But the results are ...

user@host:~$ sudo dpkg --add-architecture i386
[sudo] password for user:
user@host:~$ wget https://dl.winehq.org/wine-builds/Release.key
--2016-06-05 19:28:02-- https://dl.winehq.org/wine-builds/Release.key
Resolving dl.winehq.org (dl.winehq.org)... 185.31.17.69
Connecting to dl.winehq.org (dl.winehq.org)|185.31.17.69|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3140 (3.1K) [application/pgp-keys]
Saving to: ‘Release.key.2’

Release.key.2 100%[=====================>] 3.07K --.-KB/s in 0s

2016-06-05 19:28:05 (15.9 MB/s) - ‘Release.key.2’ saved [3140/3140]

user@host:~$ sudo apt-key add Release.key
OK
user@host:~$ deb https://dl.winehq.org/wine-builds/debian/DISTRO main
Could not find the database of available applications, run update-command-not-found as root to fix this
deb: command not found
user@host:~$ deb http://ftp.de.debian.org/debian/oldstable main
Could not find the database of available applications, run update-command-not-found as root to fix this
deb: command not found
user@host:~$ sudo apt-get update
Ign http://ftp.us.debian.org jessie InRelease
Hit http://www.whonix.org jessie InRelease
Hit http://deb.torproject.org jessie InRelease
Hit http://security.debian.org jessie/updates InRelease
Hit http://ftp.us.debian.org jessie Release.gpg
Hit http://www.whonix.org jessie/main i386 Packages
Hit http://deb.torproject.org jessie/main Sources
Hit http://security.debian.org jessie/updates/main i386 Packages
Hit http://ftp.us.debian.org jessie Release
Hit http://deb.torproject.org jessie/main i386 Packages
Hit http://ftp.us.debian.org jessie/main i386 Packages
Hit http://security.debian.org jessie/updates/contrib i386 Packages
Hit http://security.debian.org jessie/updates/non-free i386 Packages
Hit http://ftp.us.debian.org jessie/contrib i386 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://ftp.us.debian.org jessie/non-free i386 Packages
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://ftp.us.debian.org jessie/contrib Translation-en
Hit http://security.debian.org jessie/updates/non-free Translation-en
Hit http://ftp.us.debian.org jessie/main Translation-en
Hit http://ftp.us.debian.org jessie/non-free Translation-en
Ign http://www.whonix.org jessie/main Translation-en_US
Ign http://www.whonix.org jessie/main Translation-en
Ign http://deb.torproject.org jessie/main Translation-en_US
Ign http://deb.torproject.org jessie/main Translation-en
Reading package lists... Done
user@host:~$ sudo apt-get install winehq-devel
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package winehq-devel
user@host:~$
deep forest
Level 2
Level 2
Posts: 45
Joined: Tue May 31, 2016 4:57 pm

Re: Error occured in setting database connection .

Post by deep forest »

I couldnt install WineHQ packages ...

So , Please tell me what should I do next to install the newest WineHQ packages .
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: Error occured in setting database connection .

Post by dimesio »

deep forest wrote: user@host:~$ deb https://dl.winehq.org/wine-builds/debian/DISTRO main
You are supposed to substitute the name of your version of Debian for DISTRO in that command. Based on the output you posted, that seems to be jessie (which also means that you did not need to add the oldstable repository, as that is for wheezy).
deep forest
Level 2
Level 2
Posts: 45
Joined: Tue May 31, 2016 4:57 pm

Re: Error occured in setting database connection .

Post by deep forest »

Yes , my Debian is jessie .
What should I do next ??
Please tell me the command sequences to install Wine .
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Error occured in setting database connection .

Post by lahmbi5678 »

You need to add that line to the file sources.list:

Code: Select all

deb https://dl.winehq.org/wine-builds/debian/ jessie main
deep forest
Level 2
Level 2
Posts: 45
Joined: Tue May 31, 2016 4:57 pm

Re: Error occured in setting database connection .

Post by deep forest »

I tried and results

user@host:~$ sudo dpkg --add-architecture i386
[sudo] password for user:
user@host:~$ wget https://dl.winehq.org/wine-builds/Release.key
--2016-06-18 06:14:55-- https://dl.winehq.org/wine-builds/Release.key
Resolving dl.winehq.org (dl.winehq.org)... 185.31.17.69
Connecting to dl.winehq.org (dl.winehq.org)|185.31.17.69|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3140 (3.1K) [application/pgp-keys]
Saving to: ‘Release.key.4’

Release.key.4 100%[=====================>] 3.07K 6.87KB/s in 0.4s

2016-06-18 06:15:00 (6.87 KB/s) - ‘Release.key.4’ saved [3140/3140]

user@host:~$ sudo apt-key add Release.key
OK
user@host:~$ deb https://dl.winehq.org/wine-builds/debian/DISTRO main
Could not find the database of available applications, run update-command-not-found as root to fix this
deb: command not found
user@host:~$ deb https://dl.winehq.org/wine-builds/debian/jessie main
Could not find the database of available applications, run update-command-not-found as root to fix this
deb: command not found
user@host:~$
deep forest
Level 2
Level 2
Posts: 45
Joined: Tue May 31, 2016 4:57 pm

Re: Error occured in setting database connection .

Post by deep forest »

Why deb: command not found ??
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Error occured in setting database connection .

Post by Bob Wya »

deep forest wrote:Why deb: command not found ??
Because the actual instructions are:
Next add the repository to /etc/apt/sources.list or create a *.list under /etc/apt/sources.list.d/ with the following content:

Code: Select all

deb https://dl.winehq.org/wine-builds/debian/ DISTRO main
with DISTRO being either wheezy, jessie, stretch or sid
It's not a command it's a template line to add to a repository file.

So you'd actually want to run a command like:

Code: Select all

echo 'deb https://dl.winehq.org/wine-builds/debian/ jessie main'>/etc/apt/sources.list.d/winehq.list
to create a winehq.list repository file in the /etc/apt/sources.list.d/ directory - so your package manager can pick up the WineHQ packages.
(Here we are literally echo'ing a string and re-directing that to create the file using Unix streams)

Then work on from:

Code: Select all

sudo apt-get update
to update your apt repository information - from the online repositories you are subscribed to.

Bob
deep forest
Level 2
Level 2
Posts: 45
Joined: Tue May 31, 2016 4:57 pm

Re: Error occured in setting database connection .

Post by deep forest »

Hi , bob . I tried and results are ...

user@host:~$ sudo dpkg --add-architecture i386
[sudo] password for user:
user@host:~$ wget https://dl.winehq.org/wine-builds/Release.key
--2016-06-19 01:41:44-- https://dl.winehq.org/wine-builds/Release.key
Resolving dl.winehq.org (dl.winehq.org)... 23.235.43.69
Connecting to dl.winehq.org (dl.winehq.org)|23.235.43.69|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3140 (3.1K) [application/pgp-keys]
Saving to: ‘Release.key.5’

Release.key.5 100%[=====================>] 3.07K --.-KB/s in 0s

2016-06-19 01:41:48 (16.1 MB/s) - ‘Release.key.5’ saved [3140/3140]

user@host:~$ sudo apt-key add Release.key
OK
user@host:~$ echo 'deb https://dl.winehq.org/wine-builds/debian/ jessie main'>/etc/apt/sources.list.d/winehq.list
bash: /etc/apt/sources.list.d/winehq.list: Permission denied
user@host:~$


Permission was denied ...
How can I get permission ??
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Error occured in setting database connection .

Post by Bob Wya »

Let's try that again! 8)

So you'd actually want to run a command like:

Code: Select all

sudo echo 'deb https://dl.winehq.org/wine-builds/debian/ jessie main'>/etc/apt/sources.list.d/winehq.list
to create a winehq.list repository file in the /etc/apt/sources.list.d/ directory - so your package manager can pick up the WineHQ packages.

Then work on from:

Code: Select all

sudo apt-get update
to update your apt repository information - from the online repositories you are subscribed to.

It would be nice if you could use the forum Code tags. See the Code button immediately above the text entry box - when you are typing a new form post. These tags can be used to delimit code/ command line input+output that you are posting in-line... Like I've done in my posts. It simply makes it easier to parse/read someone else's post...

Ta
Bob
deep forest
Level 2
Level 2
Posts: 45
Joined: Tue May 31, 2016 4:57 pm

Re: Error occured in setting database connection .

Post by deep forest »

Hi , Bob . I tried and results are ...

user@host:~$

Code: Select all

sudo dpkg --add-architecture i386
[sudo] password for user:
user@host:~$

Code: Select all

wget https://dl.winehq.org/wine-builds/Release.key
--2016-06-23 05:16:52-- https://dl.winehq.org/wine-builds/Release.key
Resolving dl.winehq.org (dl.winehq.org)... 23.235.43.69
Connecting to dl.winehq.org (dl.winehq.org)|23.235.43.69|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3140 (3.1K) [application/pgp-keys]
Saving to: ‘Release.key.6’

Release.key.6 100%[=====================>] 3.07K --.-KB/s in 0s

2016-06-23 05:17:01 (15.1 MB/s) - ‘Release.key.6’ saved [3140/3140]

user@host:~$

Code: Select all

sudo apt-key add Release.key
OK
user@host:~$

Code: Select all

sudo echo 'deb https://dl.winehq.org/wine-builds/debian/ jessie main'>/etc/apt/sources.list.d/winehq.list
bash: /etc/apt/sources.list.d/winehq.list: Permission denied
user@host:~$


Permission was denied ...
Oh , No ....
Please tell me How can I get permission ...
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Error occured in setting database connection .

Post by Bob Wya »

deep forest wrote: user@host:~$

Code: Select all

sudo echo 'deb https://dl.winehq.org/wine-builds/debian/ jessie main'>/etc/apt/sources.list.d/winehq.list
bash: /etc/apt/sources.list.d/winehq.list: Permission denied
user@host:~$

Permission was denied ...
Oh , No ....
Please tell me How can I get permission ...
Oh no! :? :mrgreen:

Sorry, that should be:

Code: Select all

sudo sh -c "echo 'deb https://dl.winehq.org/wine-builds/debian/ jessie main'>/etc/apt/sources.list.d/winehq.list"
Just testing you!! Oops (cough) :oops:

But seriously the sudo command only applies to the echo command in the first version. But then your user doesn't have permission to write into the directory /etc/apt/sources.list.d/ - so the redirection fails. I hope you've learnt an important lesson (cough)... :o :lol: :wink:

Bob
deep forest
Level 2
Level 2
Posts: 45
Joined: Tue May 31, 2016 4:57 pm

Re: Error occured in setting database connection .

Post by deep forest »

Thanx Bob !!
Great !!
Maybe I have succeeded install wine 1.9.13 .
And Maybe I have succeeded install the Windows app .

Oh , EXCELLENT !!
I appreciate this place board members ...

But , I may ask any questions , if any problem happens to use the Windows app ...
Thanx all members !!
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Error occured in setting database connection .

Post by Bob Wya »

deep forest wrote: ...
Oh , EXCELLENT !!
I appreciate this place board members ...

But , I may ask any questions , if any problem happens to use the Windows app ...
Thanx all members !!
Glad to hear not everyone's "rage quitting" Linux this week :wink:

Bob
deep forest
Level 2
Level 2
Posts: 45
Joined: Tue May 31, 2016 4:57 pm

Re: Error occured in setting database connection .

Post by deep forest »

Problem has happened ...

I have succeeded to install wine 1.9.13 .
And
I have succeeded to install the Windows app .
There were NO error words ...

But ...

When I run the app by using wine ,
The apps operation window dont appear ...
So , I couldnt use the app .

When I installed the Windows app , There was No error words ...
But when I run the app , the operation window dont appear ...

Why ?? If someone knows the solution answer , Please tell me it ...
I dont know how to solve the problem ...
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Error occured in setting database connection .

Post by Bob Wya »

deep forest wrote:...
When I run the app by using wine ,
The apps operation window dont appear ...
So , I couldnt use the app .
...
That's way, way too vague for anyone to be able to help you... :cry:
  1. What directory did you run the wine command in / from?

    Code: Select all

    echo "${PWD}"
  2. What command did you type to run your application?
Ta
Bob
deep forest
Level 2
Level 2
Posts: 45
Joined: Tue May 31, 2016 4:57 pm

Re: Error occured in setting database connection .

Post by deep forest »

Hi , Bob .

At first , I ran the App by using Desk Top Icon double click .
After a few seconds , the icon appeared in Task bars right down space .
I clicked the icon , But nothing happened .
And The Apps operation window didnt appear ...

Second , I ran the App by using Kick off Application Launcher -> Applications -> Wine -> Programs -> The App .
But result was same ...

Should I use Konsole Panel ??
If so ,
Please tell me the collect command code . :?
deep forest
Level 2
Level 2
Posts: 45
Joined: Tue May 31, 2016 4:57 pm

Re: Error occured in setting database connection .

Post by deep forest »

Why operation window doesnt appear ??
Have I made something wrong with installing or using or running the software app ??
Is this WineS error ??
I cant know the answer ..
The software app which I want to install & run is ABBulkmailer .


If someone knows something about this problem ,
Please tell me something to solve it ...
I want the answer ...
Locked