Re: GNOME-DB DSN & MySql



On Tue, Jan 18 2000, at 10:46:50 -0600, michael@selectrec.net wrote:
> Can someone tell me the correct string for DSN text box in GNOME-DB.
> thanks in advance

>From the Gnome DB documentation under Architectural Overview,
MySQL Server:

DSN: this is a ';'-separated list of options to be passed to the
MySQL backend. This includes: 
  HOST: name of the host on which the backend is running 
  DATABASE: name of the database to be accessed 
  PORT: number of the port to be used to connect to the backend 
  UNIX_SOCKET: path to the UNIX socket (check MySQL docs) 
  FLAGS: connection flags 

  In any case, you would need to check your MySQL installation 
  and documentation for entering valid values for each of these
  parameters. 

So a valid DSN string would for example be:
HOST:localhost;DATABASE=test

Note that there is also a gnome-db-list for asking gnome-db related
questions.

//Björn
-- 
Björn Andersson  <bjorn@lifix.fi>                        +358-50-3412556
Lifix Systems Oy <http://www.lifix.fi/>     Professional Linux Solutions
Tekniikantie 21, FIN-02150 Espoo                          +358-9-4375272



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]