mysqladmin: connect to server at 'localhost' failed - MySQL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajbala
    New Member
    • Oct 2006
    • 58

    mysqladmin: connect to server at 'localhost' failed - MySQL

    hi all,

    I got the error like
    [sait6@localhost treestructure]$ mysqladmin -h localhost -u root -p create bedrock
    Enter password: ******
    mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'root'@'localho st' (using password: YES)'

    [sait6@localhost treestructure]$ mysqladmin --no-defaults -u root ver
    mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'root'@'localho st' (using password: NO)'


    and when i type mysql and start to change some password i got

    mysql> INSERT INTO user (Host,User,Pass word)
    -> VALUES('%','sai t6','sait123');
    ERROR 1046 (3D000): No database selected

    please give suggestion to eradicate the above problem.

    thanyou.
    -RAJU
  • rajbala
    New Member
    • Oct 2006
    • 58

    #2
    Originally posted by rajbala
    hi all,

    I got the error like
    [sait6@localhost treestructure]$ mysqladmin -h localhost -u root -p create bedrock
    Enter password: ******
    mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'root'@'localho st' (using password: YES)'

    [sait6@localhost treestructure]$ mysqladmin --no-defaults -u root ver
    mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'root'@'localho st' (using password: NO)'


    and when i type mysql and start to change some password i got

    mysql> INSERT INTO user (Host,User,Pass word)
    -> VALUES('%','sai t6','sait123');
    ERROR 1046 (3D000): No database selected

    please give suggestion to eradicate the above problem.

    thanyou.
    -RAJU


    I need your help........... ....

    Comment

    Working...