osx - I can't login mysql server on mac -
i installed mysql on mac. when access mysql. terminal showed 'bash: mysql: command not found' changed setting
go /usr/bin directory
sudo ln -s /usr/local/mysql/bin/mysql mysql
then
ls -l mysql
=> lrwxr-xr-x 1 root wheel 26 3 7 12:23 mysql -> /usr/local/mysql/bin/mysql
next access mysql server
something wrong
error 1045 (28000): access denied user 'kimjaeyeon'@'localhost' (using password: no)
how cant solve problem??
after checking if mysql server running, please try using -p
option, asks enter password, like
$ mysql -h localhost -u kimjaeyeon -p
to check if mysql server running:
$ ps auxf | grep mysql
Comments
Post a Comment