I'm a novice with SQL Server (using SQL 7.0). It appears I've been hacked a
nd I'm considering nuking the whole network and starting over (it's only a h
alf-dozen machines). I would like to upgrade to SQL 2000.
Recently we lost our connection to SQL (we get a network error even on the m
achine the data is on). I've done regular backups, but I don't know how to
restore the backup to a different machine. I know you can do it using detac
h-attach, but I didn't know
we were going to lose the server, so I never "detached" the database. I tri
ed to restore a database to a different machine once before and I remember i
t wouldn't let me do it.
Does anyone have any suggestions? I could try installing 2000 on the machin
e in question, but I'm afraid I might lose the data permanently that way.
Thanks for your help.
Reed SprungFirst off...what errors are you getting when you try to restore the
database?
Kevin Hill
President
3NF Consulting
www.3nf-inc.com/NewsGroups.htm
www.DallasDBAs.com/forum - new DB forum for Dallas/Ft. Worth area DBAs.
"Reed" <rsprung@.solutionsom.com> wrote in message
news:429DCDE6-22FB-4663-9975-C6FE5FB0484E@.microsoft.com...
> I'm a novice with SQL Server (using SQL 7.0). It appears I've been hacked
and I'm considering nuking the whole network and starting over (it's only a
half-dozen machines). I would like to upgrade to SQL 2000.
> Recently we lost our connection to SQL (we get a network error even on the
machine the data is on). I've done regular backups, but I don't know how to
restore the backup to a different machine. I know you can do it using
detach-attach, but I didn't know we were going to lose the server, so I
never "detached" the database. I tried to restore a database to a different
machine once before and I remember it wouldn't let me do it.
> Does anyone have any suggestions? I could try installing 2000 on the
machine in question, but I'm afraid I might lose the data permanently that
way.
> Thanks for your help.
> Reed Sprung|||I haven't tried. I don't have another machine running SQL right now (I will
soon). I just remember that I couldn't do it before (this was probably a c
ouple of years ago).
Are you telling me that I should be able to restore to a different machine?
I have the backup files and I have the original data files to work with if
needed.
Should I install 7.0 on another machine to try to recover the data, or shoul
d I just install a new copy of 2000 and try it?
Thanks for your reply.
Reed|||I personally would re-install 7.0, restore the backup (yes, you can do it if
the backup file is good), and then follow the Microsoft recommendations to
pgrade to SQL Server 2000.
I restore from machine to different machine all the time, especially when I
need fresh data from a cliet on my development lab boxen.
Kevin Hill
President
3NF Consulting
www.3nf-inc.com/NewsGroups.htm
www.DallasDBAs.com/forum - new DB forum for Dallas/Ft. Worth area DBAs.
"Reed" <rsprung@.solutionsom.com> wrote in message
news:D927B945-5826-474A-8B4A-9E0B4739ACAB@.microsoft.com...
> I haven't tried. I don't have another machine running SQL right now (I
will soon). I just remember that I couldn't do it before (this was probably
a couple of years ago).
> Are you telling me that I should be able to restore to a different
machine? I have the backup files and I have the original data files to work
with if needed.
> Should I install 7.0 on another machine to try to recover the data, or
should I just install a new copy of 2000 and try it?
> Thanks for your reply.
> Reed
Showing posts with label network. Show all posts
Showing posts with label network. Show all posts
Friday, March 30, 2012
I've been hacked....
I'm a novice with SQL Server (using SQL 7.0). It appears I've been hacked and I'm considering nuking the whole network and starting over (it's only a half-dozen machines). I would like to upgrade to SQL 2000.
Recently we lost our connection to SQL (we get a network error even on the machine the data is on). I've done regular backups, but I don't know how to restore the backup to a different machine. I know you can do it using detach-attach, but I didn't know
we were going to lose the server, so I never "detached" the database. I tried to restore a database to a different machine once before and I remember it wouldn't let me do it.
Does anyone have any suggestions? I could try installing 2000 on the machine in question, but I'm afraid I might lose the data permanently that way.
Thanks for your help.
Reed Sprung
First off...what errors are you getting when you try to restore the
database?
Kevin Hill
President
3NF Consulting
www.3nf-inc.com/NewsGroups.htm
www.DallasDBAs.com/forum - new DB forum for Dallas/Ft. Worth area DBAs.
"Reed" <rsprung@.solutionsom.com> wrote in message
news:429DCDE6-22FB-4663-9975-C6FE5FB0484E@.microsoft.com...
> I'm a novice with SQL Server (using SQL 7.0). It appears I've been hacked
and I'm considering nuking the whole network and starting over (it's only a
half-dozen machines). I would like to upgrade to SQL 2000.
> Recently we lost our connection to SQL (we get a network error even on the
machine the data is on). I've done regular backups, but I don't know how to
restore the backup to a different machine. I know you can do it using
detach-attach, but I didn't know we were going to lose the server, so I
never "detached" the database. I tried to restore a database to a different
machine once before and I remember it wouldn't let me do it.
> Does anyone have any suggestions? I could try installing 2000 on the
machine in question, but I'm afraid I might lose the data permanently that
way.
> Thanks for your help.
> Reed Sprung
|||I haven't tried. I don't have another machine running SQL right now (I will soon). I just remember that I couldn't do it before (this was probably a couple of years ago).
Are you telling me that I should be able to restore to a different machine? I have the backup files and I have the original data files to work with if needed.
Should I install 7.0 on another machine to try to recover the data, or should I just install a new copy of 2000 and try it?
Thanks for your reply.
Reed
|||I personally would re-install 7.0, restore the backup (yes, you can do it if
the backup file is good), and then follow the Microsoft recommendations to
pgrade to SQL Server 2000.
I restore from machine to different machine all the time, especially when I
need fresh data from a cliet on my development lab boxen.
Kevin Hill
President
3NF Consulting
www.3nf-inc.com/NewsGroups.htm
www.DallasDBAs.com/forum - new DB forum for Dallas/Ft. Worth area DBAs.
"Reed" <rsprung@.solutionsom.com> wrote in message
news:D927B945-5826-474A-8B4A-9E0B4739ACAB@.microsoft.com...
> I haven't tried. I don't have another machine running SQL right now (I
will soon). I just remember that I couldn't do it before (this was probably
a couple of years ago).
> Are you telling me that I should be able to restore to a different
machine? I have the backup files and I have the original data files to work
with if needed.
> Should I install 7.0 on another machine to try to recover the data, or
should I just install a new copy of 2000 and try it?
> Thanks for your reply.
> Reed
Recently we lost our connection to SQL (we get a network error even on the machine the data is on). I've done regular backups, but I don't know how to restore the backup to a different machine. I know you can do it using detach-attach, but I didn't know
we were going to lose the server, so I never "detached" the database. I tried to restore a database to a different machine once before and I remember it wouldn't let me do it.
Does anyone have any suggestions? I could try installing 2000 on the machine in question, but I'm afraid I might lose the data permanently that way.
Thanks for your help.
Reed Sprung
First off...what errors are you getting when you try to restore the
database?
Kevin Hill
President
3NF Consulting
www.3nf-inc.com/NewsGroups.htm
www.DallasDBAs.com/forum - new DB forum for Dallas/Ft. Worth area DBAs.
"Reed" <rsprung@.solutionsom.com> wrote in message
news:429DCDE6-22FB-4663-9975-C6FE5FB0484E@.microsoft.com...
> I'm a novice with SQL Server (using SQL 7.0). It appears I've been hacked
and I'm considering nuking the whole network and starting over (it's only a
half-dozen machines). I would like to upgrade to SQL 2000.
> Recently we lost our connection to SQL (we get a network error even on the
machine the data is on). I've done regular backups, but I don't know how to
restore the backup to a different machine. I know you can do it using
detach-attach, but I didn't know we were going to lose the server, so I
never "detached" the database. I tried to restore a database to a different
machine once before and I remember it wouldn't let me do it.
> Does anyone have any suggestions? I could try installing 2000 on the
machine in question, but I'm afraid I might lose the data permanently that
way.
> Thanks for your help.
> Reed Sprung
|||I haven't tried. I don't have another machine running SQL right now (I will soon). I just remember that I couldn't do it before (this was probably a couple of years ago).
Are you telling me that I should be able to restore to a different machine? I have the backup files and I have the original data files to work with if needed.
Should I install 7.0 on another machine to try to recover the data, or should I just install a new copy of 2000 and try it?
Thanks for your reply.
Reed
|||I personally would re-install 7.0, restore the backup (yes, you can do it if
the backup file is good), and then follow the Microsoft recommendations to
pgrade to SQL Server 2000.
I restore from machine to different machine all the time, especially when I
need fresh data from a cliet on my development lab boxen.
Kevin Hill
President
3NF Consulting
www.3nf-inc.com/NewsGroups.htm
www.DallasDBAs.com/forum - new DB forum for Dallas/Ft. Worth area DBAs.
"Reed" <rsprung@.solutionsom.com> wrote in message
news:D927B945-5826-474A-8B4A-9E0B4739ACAB@.microsoft.com...
> I haven't tried. I don't have another machine running SQL right now (I
will soon). I just remember that I couldn't do it before (this was probably
a couple of years ago).
> Are you telling me that I should be able to restore to a different
machine? I have the backup files and I have the original data files to work
with if needed.
> Should I install 7.0 on another machine to try to recover the data, or
should I just install a new copy of 2000 and try it?
> Thanks for your reply.
> Reed
Wednesday, March 7, 2012
issue with a login name
Hi All,
Our network admin logged on to a machine with a Windows
Advanced Server OS as an administrator and installed SQL
Server 2000.
In the dialog box for the Account Services he selected
the system account option (not the Local). He entered my
login name and my password for the user login and the
password (mitra/mitra)
I logged on to the machine with an administrator login
and password (not my user login and password that we
entered for the services). I created a database using
MSSQL Enterprise Manager. I clicked "Login" in
the "Security" folder, there I saw three login names:
<Builtin\administrator>
<domain_name\mitra>
<sa>
I created a database. I clicked "Users" in my new
database. I did not see the <domain_name\mitra> being
listed as a user. Then I right-clicked on the "User" and
added this <domain_name\mitra> as a user to my new
database (the login name was already listed in the Login
drop-list).
I launched our application and tried to create the
database schema using <domain_name\mitra> for the login
name. I kept getting a sql message that the login is
invalid. I tried the <sa> login, no problem, i was able
to create my database schema.
Can someone please tell me why i could not create the
database schema using <domain_name\mitra> login name.
Thanks,
--Mitra> I launched our application and tried to create the
> database schema using <domain_name\mitra> for the login
> name. I kept getting a sql message that the login is
> invalid. I tried the <sa> login, no problem, i was able
> to create my database schema.
> Can someone please tell me why i could not create the
> database schema using <domain_name\mitra> login name.
I would expect a different error message (e.g. 'CREATE TABLE permission
denied'), given the steps you described. This is because a user needs to be
granted CREATE permissions in order to create a database object. If the
objects are to be owned by that user, you can grant the user CREATE
permission for the desired object types. For example:
GRANT CREATE TABLE TO [domain_name\mitra]
In order to create objects in a different schema (e.g. 'dbo'), the user
needs to be a member of one of the roles below. These roles have
permissions to create objects in any schema:
1) sysadmin server role
2) db_owner fixed database role
3) db_ddladmin fixed database role
Hope this helps.
Dan Guzman
SQL Server MVP
"mitra fatolahi" <mitra928@.hotmail.com> wrote in message
news:11af101c410a3$d08e31f0$a301280a@.phx
.gbl...
> Hi All,
> Our network admin logged on to a machine with a Windows
> Advanced Server OS as an administrator and installed SQL
> Server 2000.
> In the dialog box for the Account Services he selected
> the system account option (not the Local). He entered my
> login name and my password for the user login and the
> password (mitra/mitra)
> I logged on to the machine with an administrator login
> and password (not my user login and password that we
> entered for the services). I created a database using
> MSSQL Enterprise Manager. I clicked "Login" in
> the "Security" folder, there I saw three login names:
> <Builtin\administrator>
> <domain_name\mitra>
> <sa>
> I created a database. I clicked "Users" in my new
> database. I did not see the <domain_name\mitra> being
> listed as a user. Then I right-clicked on the "User" and
> added this <domain_name\mitra> as a user to my new
> database (the login name was already listed in the Login
> drop-list).
> I launched our application and tried to create the
> database schema using <domain_name\mitra> for the login
> name. I kept getting a sql message that the login is
> invalid. I tried the <sa> login, no problem, i was able
> to create my database schema.
> Can someone please tell me why i could not create the
> database schema using <domain_name\mitra> login name.
> Thanks,
> --Mitra
>
Our network admin logged on to a machine with a Windows
Advanced Server OS as an administrator and installed SQL
Server 2000.
In the dialog box for the Account Services he selected
the system account option (not the Local). He entered my
login name and my password for the user login and the
password (mitra/mitra)
I logged on to the machine with an administrator login
and password (not my user login and password that we
entered for the services). I created a database using
MSSQL Enterprise Manager. I clicked "Login" in
the "Security" folder, there I saw three login names:
<Builtin\administrator>
<domain_name\mitra>
<sa>
I created a database. I clicked "Users" in my new
database. I did not see the <domain_name\mitra> being
listed as a user. Then I right-clicked on the "User" and
added this <domain_name\mitra> as a user to my new
database (the login name was already listed in the Login
drop-list).
I launched our application and tried to create the
database schema using <domain_name\mitra> for the login
name. I kept getting a sql message that the login is
invalid. I tried the <sa> login, no problem, i was able
to create my database schema.
Can someone please tell me why i could not create the
database schema using <domain_name\mitra> login name.
Thanks,
--Mitra> I launched our application and tried to create the
> database schema using <domain_name\mitra> for the login
> name. I kept getting a sql message that the login is
> invalid. I tried the <sa> login, no problem, i was able
> to create my database schema.
> Can someone please tell me why i could not create the
> database schema using <domain_name\mitra> login name.
I would expect a different error message (e.g. 'CREATE TABLE permission
denied'), given the steps you described. This is because a user needs to be
granted CREATE permissions in order to create a database object. If the
objects are to be owned by that user, you can grant the user CREATE
permission for the desired object types. For example:
GRANT CREATE TABLE TO [domain_name\mitra]
In order to create objects in a different schema (e.g. 'dbo'), the user
needs to be a member of one of the roles below. These roles have
permissions to create objects in any schema:
1) sysadmin server role
2) db_owner fixed database role
3) db_ddladmin fixed database role
Hope this helps.
Dan Guzman
SQL Server MVP
"mitra fatolahi" <mitra928@.hotmail.com> wrote in message
news:11af101c410a3$d08e31f0$a301280a@.phx
.gbl...
> Hi All,
> Our network admin logged on to a machine with a Windows
> Advanced Server OS as an administrator and installed SQL
> Server 2000.
> In the dialog box for the Account Services he selected
> the system account option (not the Local). He entered my
> login name and my password for the user login and the
> password (mitra/mitra)
> I logged on to the machine with an administrator login
> and password (not my user login and password that we
> entered for the services). I created a database using
> MSSQL Enterprise Manager. I clicked "Login" in
> the "Security" folder, there I saw three login names:
> <Builtin\administrator>
> <domain_name\mitra>
> <sa>
> I created a database. I clicked "Users" in my new
> database. I did not see the <domain_name\mitra> being
> listed as a user. Then I right-clicked on the "User" and
> added this <domain_name\mitra> as a user to my new
> database (the login name was already listed in the Login
> drop-list).
> I launched our application and tried to create the
> database schema using <domain_name\mitra> for the login
> name. I kept getting a sql message that the login is
> invalid. I tried the <sa> login, no problem, i was able
> to create my database schema.
> Can someone please tell me why i could not create the
> database schema using <domain_name\mitra> login name.
> Thanks,
> --Mitra
>
Subscribe to:
Posts (Atom)