LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-25-2006, 09:46 AM   #1
Jelle
Member
 
Registered: Feb 2004
Location: Utrecht, The Netherlands
Distribution: Debian
Posts: 79

Rep: Reputation: 15
Question making deb package, how to handle db-accounts? (pgsql & mysql)


Hi,

The package I am trying to create/write needs either a postgresql or mysql database. It would be nice If my postinstall script could create the needed database by itself without asking too many questions. For mysql I have found a relative straigthforward method: use the credentials stored in /etc/mysql/debian.cnf and issue the specific SQL yourself.

Is there a similar way to do so with postgresql?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL & pgSQL problems w/ PHP dolvmin Linux - Software 2 10-28-2005 10:36 PM
making a .deb from source files h/w Debian 2 01-05-2004 04:54 PM
Pgsql or mysql? other? Raspis21 Linux - Software 13 11-14-2003 10:25 PM
Howto on making .deb package files preben Debian 1 08-21-2003 07:53 AM
libnss-mysql (Store your UNIX user accounts in MySQL) markus1982 Linux - Security 0 01-26-2003 02:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration