ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Ten MySQL Best Practices
Subject:   Point number 1 is bad - solution
Date:   2003-01-05 16:48:16
From:   anonymous2
"1. Set a password for the "root" user and then rename the user.

The first thing you should do with a clean MySQL install is set a password for the root user:

[01:19:00] george@firenze$ mysqladmin -u root password

In my windows system the correct sentenc is:

c:\mysql>mysqladmin -u root password somepassword

David Martinez