Find the answer to your Linux question:
Results 1 to 3 of 3
[root@smitdesk dr_smit]# mysql -u root -p mysql Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) [root@smitdesk dr_smit]# mysql -u root -p mysql Enter password: What ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie dr_smit's Avatar
    Join Date
    Dec 2006
    Location
    Raipur
    Posts
    171

    What is Password for MySQL?


    [root@smitdesk dr_smit]# mysql -u root -p mysql
    Enter password:
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
    [root@smitdesk dr_smit]# mysql -u root -p mysql
    Enter password:


    What password is required here???
    dr_smit
    Registered Linux User # 442381
    You get life once....... If you live right, once is enough!
    Mandriva 2008, CentOS 5, Sabalyon..

  2. #2
    Linux Newbie
    Join Date
    Dec 2005
    Location
    Toronto
    Posts
    127
    Is this a new (mysql) install ? If it is, then you need to assign a password to the root user. Make sure that mysql daemon is running, if not run the daemon and then execute this:

    mysqladmin -u root password <new-password>
    Replace <new-password> with your password.

  3. #3
    Linux Newbie dr_smit's Avatar
    Join Date
    Dec 2006
    Location
    Raipur
    Posts
    171

    thanks a lot

    yes it was a new installation and your suggestion worked..

    I wish to wether PHP & Mysql are installed, configured to set up a software called OpenEMR.. How should I proceed?

    http://www.linuxforums.org/forum/man...p-openemr.html
    dr_smit
    Registered Linux User # 442381
    You get life once....... If you live right, once is enough!
    Mandriva 2008, CentOS 5, Sabalyon..

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •