I'm using MySQL 5.5 Command Line Client tool (MySQL CLC) for Windows. When I run this tool, the first thing I'm being asked is:
Enter password:
There is no input for username. So the default user is root
. How can I change the root
and log in as another user?
mysql -u <non-root-user>
should do it. BTW, I find mysql login-path very useful in such cases.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.