> ## Content Index
> Fetch the complete content index at: https://kudithipudi.org/llms.txt
> Use this file to discover other available public pages before exploring further.

# MySQL – Setting up initial privileges
- URL: https://kudithipudi.org/mysql-setting-up-initial-privileges/
- Published: 2004-02-05T05:44:18.000Z
- Updated: 2004-02-05T05:44:18.000Z
- Description: Ever install MySQL and wondered what to do next? Well, the first thing is to secure the root user (Note: The MySQL root user is different...
- Author: admin
- Tags: Programming, Technology, Uncategorized, Web, #wp, #wp-post, #Import 2026-08-23 02:32

Ever install [MySQL](http://www.mysql.com/?ref=kudithipudi.org) and wondered what to do next? Well, the first thing is to secure the root user (**Note:** The MySQL root user is different from the OS root user). These three simple steps should deal with it.

*shell> mysql -u root mysql* 
*mysql> SET PASSWORD FOR root@localhost=PASSWORD(‘new\_password’);* 
*mysql> FLUSH PRIVILEGES;*

MySQL has really good documentation on their website. It is can be accessed [here](http://www.mysql.com/doc/en/index.html?ref=kudithipudi.org).