On Thu, May 10, 2001 at 10:16:33AM -0700, Simon Chan wrote:
> In 6.13 of the mysql manual (Setting up th initial Mysql Privileges), it mentions 
>that "the Mysql
> root user is created as a superuser who can do anything.  The Initial root password 
>is empty, so
> anyone can connect as root without a pasword and be granted all privileges."
> 
> How is this mysql super user created?  Where can I find the username?  It is NOT the 
>same as the
> username I add with the "useradd" command, is it?

MySQL users are kept separate from the system users.  The MySQL username
is the one you specify when you connect to the server, either with the -u
command-line option, or with environment variables, or with the my.cnf file.

The MySQL root user, the one created as superuser, comes with the username
'root' :)

Just start your MySQL server, and try:

mysql -u root

This shall bring you to the MySQL prompt, if you have not configured
a password with mysqladmin.

G'luck,
Peter

-- 
This sentence was in the past tense.

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to