List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:January 29 2000 5:08pm
Subject:Re: mySQL admin
View as plain text  
At 8:03 PM +0800 2000-01-29, Jones Liu wrote:
>  > ./mysql_install_db
>This line is fine and correct.
>
>>  ./mysqladmin -u root -p$$$$$ mysql
>                          ^^^^^^
>This line WRONG. Between '-u' and 'root' without space.
>
>After you create db, the default password of root is none.
>
>So you can use ./mysqladmin -uroot password 'your_new_password'
>After this, then you can use ./mysql -uroot -pyou-new_password mysql
>to get in mysql database.


-u can be given in either -uname or -u name form.  It's the -p option
that is picky about space between the option and the value: no space
allowed.

In general, all options *except* -p can be given with or without a
space between the option and the value.

-- 
Paul DuBois, paul@stripped
Thread
mySQL adminGelfandbein Boris29 Jan
  • Re: mySQL adminJones Liu29 Jan
    • Re[2]: mySQL adminGelfandbein Boris29 Jan
      • Re: Re[2]: mySQL adminsinisa29 Jan
        • Re[4]: mySQL adminGelfandbein Boris29 Jan
          • Re: Re[4]: mySQL adminsinisa29 Jan
  • Re: mySQL adminiostream29 Jan
Re: mySQL adminPaul DuBois29 Jan