can't invoke mysqld command

Discussion in 'Server Operation' started by pg001, Jan 29, 2009.

  1. pg001

    pg001 New Member

    when trying to invoke the command:

    Code:
    mysqld -u root -p
    
    I get a error saying:
    Code:
    -bash: mysqld: command not found
    
    but if I go "man mysqld" the manual pages for mysqld appears. What seems to be wrong?
     
  2. Ben

    Ben Active Member Moderator

    that's wrong, as you would try to run the server using mysqld.

    The client for this is just mysql.

    Code:
    mysql -u [username] -p
    
    Do not enter the password, as it will prompt you for this.
     
  3. pg001

    pg001 New Member

    ok, thanks for clearing that up.
     

Share This Page