On Monday 13 October 2008 16:34:31 Jan Rekorajski wrote: > > > > > mysqladmin -u mysql -S $MYSQL_SOCKET password 'password' > > > > > mysqladmin -h $hostname -u mysql -S $MYSQL_SOCKET password > > > > > 'password' > > > > this is pointless too, as it's the same user, irregardless of the host? > > I think not. Mysql distinguishes user by Host%User so the above may make > sense.
yes, by access rights, and access rights area already done by mysql_system_tables_data.sql file by `service mysql init'. but password is unique for username.... mysql> show fields from user like '%pass%'; +----------+----------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +----------+----------+------+-----+---------+-------+ | Password | char(41) | NO | | | | +----------+----------+------+-----+---------+-------+ 1 row in set (0.00 sec) mysql> show fields from host like '%pass%'; Empty set (0.00 sec) -- glen _______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en