Posted By

apro2000 on 11/14/10


Tagged

basic mysql password secure change installation alter


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

kaks
jeremydouglass


MySQL Basics


 / Published in: MySQL
 

  1. sudo -i" and then "passwd root" to alter the root password
  2.  
  3. /usr/bin/mysqladmin -u root password 'new-password'
  4. /usr/bin/mysqladmin -u root -h 127.0.0.1 password 'new-password'
  5.  
  6. Alternatively you can run:
  7. /usr/bin/mysql_secure_installation
  8.  
  9. To start mysqld at boot time you have to copy
  10. support-files/mysql.server to the right place for your system
  11.  
  12.  
  13. /usr/libexec/openssh/sftp-server

Report this snippet  

You need to login to post a comment.