分类: LINUX
2009-04-21 20:32:41
chinaunix网友2009-05-19 10:24:04
mysqladmin Command To Change Root Password Method 1 - Set up root password for the first time If you have never set a root password for MySQL, the server does not require a password at all for connecting as root. To set up a root password for the first time, use the mysqladmin command at the shell prompt as follows: $ mysqladmin -u root password newpass If you want to change (or update) a root password, then you need to use the following command: $ mysqladmin -u root -p oldpassword n
chinaunix网友2009-05-19 10:23:51
mysqladmin Command To Change Root Password Method 1 - Set up root password for the first time If you have never set a root password for MySQL, the server does not require a password at all for connecting as root. To set up a root password for the first time, use the mysqladmin command at the shell prompt as follows: $ mysqladmin -u root password newpass If you want to change (or update) a root password, then you need to use the following command: $ mysqladmin -u root -p oldpassword n