Hi
By saying "mysql -u root mysql" you are telling mysql that you are going to use
the database mysql which you have to use to add new users. Another way of doing
it is type "mysql -u root" to log in and type "use mysql" in mysql command
line. "test" is a database created by mysql by default when you install it so
that you can test creating tables and running quieries on it.
Seung-woo Nam
anil kumar wrote:
> hello All,
> I am new to mysql database. I downloaded mysql and running on my
> system.
> For adminiatrative purpose the command i run as written in manual is
> "mysql -u root mysql"
> I am unable to understand why i have to write mysql after "-u root" why
> not any other database name "test".
> I tried to run the command like this
> "mysql -u root test"
> and when i tried to add a user i ghot Error
> Table db.user does not exist.
> I am unable to understand the meaning of above Error.
> Please help me to understand the problem.
> Thanks in advance
>
> anil
>
---------------------------------------------------------------------
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