Authenticate as a specific user in MySQL

后端 未结 5 1256
离开以前
离开以前 2021-01-14 07:38

I\'m a Brand new User to MySQL DB, have installed the WAMPSERVER and I\'m using MySQL through the MySQL console.

Query_1: Every time that I log in, it directly asks

5条回答
  •  礼貌的吻别
    2021-01-14 08:20

    If you attempt to login without specifying a user-name, MySQL will assume "root". In most cases you don't switch the user, but give a single user all the required rights;, for example to access multiple databases. If that is not possible for you, you can use two MySQL connections with two different users simultaneously.

提交回复
热议问题