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

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -