Hey Guys,
I don't know too much about sql other then migrating databases, however I need to do a fresh install of a new instance. I'm a little concerned about permissions on databases which I migrated from another machine.
Can anyone give me a quick rundown of serveral things,
There are several accounts in play here, a domain account I'll use as a sql service account, and have my instance running as that individual. I'll most likely have a local admin on the server as a sysadmin account for the DB, but I heard this was bad practices? Is it better to use a domain account ? If so does this also need local admin credentials?
What should be the permissions on each .mdf and .ldf file in order to attach the databases to my sqlinstance (instance running as sysadmin, and sqlmanagement studio login running as local/domain account (depending on best practice recommendations). Does the account you run sql studio manager matter in terms of any .mdf and .ldf files.