I've been playing around with mySQL in the command line, and I've run into some problems that I haven't been able to find satisfactory answers to.
How do I correctly set up mysql correctly such that I don't have to type:
alias mysql=/usr/local/mysql/bin/mysql alias mysqladmin=/usr/local/mysql/bin/mysqladmin
everytime to launch mysql from the command line? I am not sure my PATH syntax is correct.
To test mysql locally and eventually within a web framework, would it be advisable to set the mysql user to root, and the host to localhost? There seem to be some recommendations against using mysql as a root user.
現在 mysql.user にあるすべてのユーザーを削除して、クリーンに開始するにはどうすればよいですか? ホストが localhost、127.0.0.1、(::1、localhost、username.local) である「root」のインスタンスが複数あるようです。何が起きてる?