Mysql broken

Elan Ruusamäe glen at delfi.ee
Wed Feb 2 17:57:49 CET 2005


On Wednesday 02 February 2005 16:23, Marcin Krzyzanowski wrote:
> Użytkownik Mariusz Mazur napisał:
> > [root at ep09-jabber jabber]# /etc/rc.d/init.d/mysql init
> > Warning: Missing clusters config file /etc/mysql/clusters.conf
> > Warning: or there is no configured clusters in it.
> > Using default cluster /var/lib/mysql (compatibility mode)
> > Initializing cluster /var/lib/mysql
> > Creating privilege mysql tables for /var/lib/mysql/mysqldb/db......[ FAIL
> > ] Sorry, the host 'localhost-unknown' could not be looked up.
> > Please configure the 'hostname' command to return a correct hostname.
> >
> > What was the genus, that wrote this in this way, thinking? Since when do
> > I need a fqdn to install a god damn mysql?
>
> in addition start script mysql fail when is started first time after
> boot, by hand or by init.d. it fail however it start as usual with these
>   warnings about clusters.
>
> In addition, mysql is the only who report me while logrotate is executed
> because these warnings. Do I have to have clusters on my laptop ?
shouldn't it be that by default mysql is installed with preconfigured database 
setup, ie you just install mysql package and you can already start using it 
(indeed limited only to localhost access)

and clustering setup is for advanced users, who will have to call 'service 
mysql init'

also on a clustering side, i think the sockets should be put to /var/run/mysql 
directory (dir owned by mysql user), so that i can have my clusters in 
filesystem without having everybody's access to that directory (where are my 
mysql datafiles)

/mysql = mysql:mysql:700
/mysql/cluster1 = mysql:mysql:700
/var/run/mysql = mysql:mysql:755
/var/run/mysql/socket1.sock = mysql:mysql:777


-- 
glen




More information about the pld-devel-en mailing list