[EMAIL PROTECTED] tmp# cd /tmp

[EMAIL PROTECTED] tmp# rpm -i MySQL-server-standard-5.0.27-0.rhel3.i386.rpm

[EMAIL PROTECTED] tmp# rpm -i MySQL-client-standard-5.0.27-0.rhel3.i386.rpm

[EMAIL PROTECTED] tmp# rpm -i MySQL-devel-standard-5.0.27-0.rhel3.i386.rpm 
MySQL-shared-compat-5.0.27-0.rhel3.i386.rpm 
MySQL-shared-standard-5.0.27-0.rhel3.i386.rpm

[EMAIL PROTECTED] tmp# rpm -qai MySQL| grep MySql

MySQL-client-standard-5.0.27-0.rhel3

MySQL-server-standard-5.0.27-0.rhel3

MySQL-devel-standard-5.0.27-0.rhel3

MySQL-shared-standard-5.0.27-0.rhel3

[EMAIL PROTECTED] tmp# mysql -u root -p

mysql> SET PASSWORD FOR 'root'@'netcool1' = PASSWORD('password');

mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('password');

mysql> select User,Host,Password from mysql.user;

+----------------------------------------------------------+
| User | Host | Password |
+----------------------------------------------------------+
| root | localhost | *F180F120AEA79DEB12038E13C4B813FBC8C2C46D |
| root | netcool1 | *F180F120AEA79DEB12038E13C4B813FBC8C2C46D |
| | netcool1 | |
| | localhost | |
+----------------------------------------------------------+

4 rows in set (0.00 sec)

mysql> flush privileges;

Query OK, 0 rows affected (0.01 sec)

[EMAIL PROTECTED] tmp# cd /etc/init.d

[EMAIL PROTECTED] init.d# mysql -u root -p

Enter password:

mysql> show databases;

+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| test |
+--------------------+

3 rows in set (0.00 sec)

mysql> drop database test;

Query OK, 0 rows affected (0.00 sec)

[EMAIL PROTECTED] init.d# mysqladmin -u root -p password status

Enter password:

Uptime: 444 Threads: 1 Questions: 18 Slow queries: 0 Opens: 17 Flush tables: 1 
Open tables: 11 Queries per second avg: 0.041

------------------------
 Daniel McKinney




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=5343#5343

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to