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

Re: MySQL: Datenbank test wird nicht angelegt



Moin,

On Tue, 2007-02-06 at 00:13 +0100, Sandro Frenzel wrote:
> Am Dienstag 06 Februar 2007 00:04 schrieb Andreas Pakulat:
> > Aehm, anonyme Nutzer wie in "Nutzer ohne PW die von localhost
> > zugreifen duerfen"? Und wieso eigentlich Plural... Davon abgesehen,
> > dass ich nicht denke dass die angelegt wurden, schliesslich waere
> > das eine Sicherheitsluecke. Die soll der Admin dann doch lieber
> > selbst oeffnen...
> >
> Doch, die werden angelegt. Siehe dazu:
> http://dev.mysql.com/doc/refman/5.1/de/default-privileges.html

das postinst skript (mysql-server-5.1) führt dieses aus:
<snip>
    # initiate databases. Output is not allowed by debconf :-(
    # Debian: beware of the bashisms... 
    # Debian: can safely run on upgrades with existing databases 
    set +e
    /bin/bash /usr/bin/mysql_install_db --rpm 2>&1 | $ERR_LOGGER
    if [ "$?" != "0" ]; then
      echo "ATTENTION: An error has occured. More info is in the
syslog!"
    fi
    set -e
</snap>    

Entweder ist also mysql_install_db fehlerhaft und tut nicht das, was in
der Doku steht oder im syslog steht was dazu ...

Gruss
	-- hgb

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: