New user cannot login to SQL Azure

后端 未结 6 2644
臣服心动
臣服心动 2020-12-13 08:19

I am creating a new read/write user on SQL Azure as follows:

-- Connected to master
create login [fred] with password = \'xxx\';

-- Connected to my DB
creat         


        
6条回答
  •  一生所求
    2020-12-13 09:00

    Two other reasons that can trip you up:

    1. The Server Login and the Database User must be the same. You cannot have APILogin link to APIUser, Azure just doesn't like it
    2. Hyphens aren't allowed in usernames on Azure, so you can't have API-User

提交回复
热议问题