MySQL Forums
Forum List  »  Install & Repo

Re: Hostname change
Posted by: Paul McArdle
Date: July 13, 2005 02:09AM

mysql> use mysql
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> show tables;
+-----------------+
| Tables_in_mysql |
+-----------------+
| columns_priv |
| db |
| func |
| host |
| tables_priv |
| user |
+-----------------+
6 rows in set (0.01 sec)

mysql> select host, user from user;
+-----------------------+------+
| host | user |
+-----------------------+------+
| localhost | |
| localhost | root |
| localhost.localdomain | |
| localhost.localdomain | root |
+-----------------------+------+
4 rows in set (0.03 sec)

#carerfull now!
mysql> update user set host = 'whatever' where user = 'whatever'

Options: ReplyQuote


Subject
Written By
Posted
July 11, 2005 11:09AM
Re: Hostname change
July 13, 2005 02:09AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.