Co jest z mysql?
Piotr Szymanski
djurban w pld-dc.org
Wto, 7 Wrz 2004, 01:27:54 CEST
Hi,
[root w djurban][01:21:20](~/rpm/SPECS)$ /etc/rc.d/init.d/mysql restart
Stopping MySQL /var/lib/mysql service..............................[ DONE ]
Starting MySQL /var/lib/mysql service..............................[ DONE ]
[root w djurban][01:21:29](~/rpm/SPECS)$ grep grant /var/lib/mysql/mysqld.conf
skip-grant-tables
[root w djurban][01:21:36](~/rpm/SPECS)$ mysqladmin -u mysql password
'glupiehaslo'
mysqladmin: unable to change password; error: 'You must have privileges to
update tables in the mysql database to be able to change passwords for
others'
[root w djurban][01:21:39](~/rpm/SPECS)$
A w mysql:
mysql> select host,user,password,update_priv from user;
+-----------+-----------------+----------+-------------+
| host | user | password | update_priv |
+-----------+-----------------+----------+-------------+
| localhost | mysql | | Y |
| djurban | mysql | | Y |
| localhost | mysql_logrotate | | N |
+-----------+-----------------+----------+-------------+
3 rows in set (0.02 sec)
mysql>
Mysql z 4.0.20-4, potem mysql init i mysql start. Ktos ma pomysl?
--
Piotr Szymanski
djurban w pld-linux.org
Więcej informacji o liście dyskusyjnej pld-devel-pl