trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] kbarcode - mysql db connect error using TQMYSQL3 driver

From: Serghei Amelian <serghei@...>
Date: Fri, 30 Mar 2012 01:58:32 +0300
On Friday 30 March 2012 01:54:36 David C. Rankin wrote:
> All,
>
>   This may be a bug in the kbarcode database connect code. I configured
> mysql and tested kbarcode. The database connect failed using the TQMYSQL3
> driver (selected in kbarcode settings) Has anyone got it working in R14?
> The error received was:
>
> Unable to open database: kbarcode
> could not connect to server: Connection refused Is the server running on
> host "localhost" (::1) and accepting TCP/IP connections on port 5432? could
> not connect to server: Connection refused Is the server running on host
> "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432?
>
>   The user and pass are properly configured in mysql. I also tested my suse
> kde3 install and setup connected with the 'QMYSQL3' driver without any
> problems, installed the tables and added the example data.
>
>   Thoughts? Anybody tested this with the 'TQMYSQL3' driver? Seems the 'T'
> driver prefix may be a bit nebulous...

Actually port 5432 is used by postgresql, not by mysql.

-- 
Serghei