ryan
04/11/2022, 1:37 PMlocalhost:1433
I have read tutorials online but I still cannot get it to work. I can connect to the localhost:1433 using Windows Authentication in both SSMS and DBeaver, but when attempting to set up a sql server login and user with the proper permissions, it will not work.
The error from Lucee Admin Server:
Login failed for user 'cflogin'. ClientConnectionId:b58ccf3c-7ceb-4622-bec8-00aeb2958ae6
The following is what I used to set up the login/user/permissions
CREATE LOGIN cflogin WITH PASSWORD = 'test'
CREATE user [cfuser] for login [cflogin] with default_schema=[dbo]
GRANT CONTROL ON testdb TO cflogin
I have also tested by adding the user to an existing role
ALTER ROLE [db_datawriter] ADD MEMBER [cfuser]
Then, I checked the SQL Server Express settings and I believe everything is set up correctly as well. SQL Sever Express has been restarted.
Would anyone have any ideas?adam.euans
04/11/2022, 1:50 PMryan
04/11/2022, 1:51 PMryan
04/11/2022, 1:51 PMryan
04/11/2022, 1:58 PMryan
04/11/2022, 2:00 PMCONTROL
permissions, this is essentially the CREATE,UPDATE,DELETE,SELECT
combined permissions, is that correct?adam.euans
04/11/2022, 2:01 PMryan
04/11/2022, 2:04 PMryan
04/11/2022, 2:04 PMryan
04/11/2022, 2:05 PMMichael Schmidt
04/11/2022, 4:09 PMryan
04/11/2022, 4:43 PMshawnoden
04/12/2022, 12:52 PMcflogin
user to grant permissions to other users. If all you need are SELECT, INSERT UPDATE and DELETE, I'd grant those explicitly, and nothing else.shawnoden
04/12/2022, 12:52 PMryan
04/12/2022, 4:12 PMshawnoden
04/13/2022, 1:01 AMshawnoden
04/21/2022, 11:54 AM