Archives

You are currently viewing archive for 20 July 2007
Category: Web dev
Posted by: hajime osako
MySQLの小技

# service mysqld stop
# /usr/bin/safe_mysqld --skip-grant-tables
# mysql -u root mysql
UPDATE user SET Password=PASSWORD('mynewpassword') WHERE User='root';
FLUSH PRIVILEGES;
# service mysqld start
Category: Web dev
Posted by: hajime osako