Mailinglist Archive: opensuse-buildservice (131 mails)

< Previous Next >
Re: [opensuse-buildservice] storing mysql root password
  • From: Detlef Reichelt <detlef@xxxxxxxxxxxx>
  • Date: Wed, 20 Dec 2006 17:05:48 +0100
  • Message-id: <200612201705.48909.detlef@xxxxxxxxxxxx>
Hi,

Am Mittwoch, 20. Dezember 2006 16:23 schrieb Manuel Arostegui Ramirez:
> I mean, I would like to store the root password (I´ve been thinking that
> could be done with "expect") to use it with later,

ah, and you know _my_ root-password for _my_ mysql-server?

> so then, the application
> will be installed and the databases will be set up correctly, cause I don´t
> want users to install the rpm and after that run by hand the sql file.
>
> The command I shoudl run is:
>
> cat pandoradb.sql | mysql -D pandora -u root -p
> cat pandoradb_data.sql | mysql -D pandora -u root -p
>
> Any ideas of what to do with the spec file?

hm, don't think about that, create a SUSE-readme
in /usr/share/doc/packages/yourapp/, the user have to read this file.

Detlef
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >