You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a user with a password and replace "MyNewAdminUser" and "abcd"
USE [master];
GO
CREATE LOGIN MyNewAdminUser
WITH PASSWORD = N'abcd',
CHECK_POLICY = OFF,
DEFAULT_LANGUAGE = us_english,
CHECK_EXPIRATION = OFF;
GO
EXEC sp_addsrvrolemember
@loginame = N'MyNewAdminUser',
@rolename = N'sysadmin';
Download php extensions : sqlsrv and pdo_sqlsrv to place the .dll in the extension folder of your php (ext).
Becarefull about the x64 and x86 part, if you need thread safe or not and make sure they are enabled in the php.ini (if you don't know take thread safe)