Reputation: 6273
I have taken over the administration of a website, but I have trouble getting the database to my test computer. I can access the database (MS SQL) via myLittleAdmin. On my test computer, I have MS SQL Express, and I wonder how I should do to copy the database.
Edit
The web hotel say explicitly that it can not replicate the database through SQL Server Management Studio. I have not find any way to connect to the database external.
The only way I have come to is to take a backup of the database in myLittleAdmin, but how then to use it I do not know.
Upvotes: 0
Views: 6569
Reputation: 6273
I talked to support and what I had to do was to set up an SSH tunnel. Then I could use the SQL Server Management Studio as usual
Upvotes: 0
Reputation: 89711
Where does MySQL come in? Normally, I would say backup and restore, but if you only have myLittleAdmin access, I'm not sure you can get that file out.
Might be easier to simply script all the schema creation and data inserts, too.
Despite the downvote, let me add that I have actually recently done this for a database of a prototype system I consulted to take to completion - the SQL Server was hosted and we even had SSMS access. But we could not back up and restore because we could not add a backup device to a machine outside of the hosting service or backup to a file we could get to on the hosting service.
Upvotes: -1
Reputation: 100607
Use SQL Server Management Studio (Express) to connect to the remote database. You can then copy the database.
Alternatively, you could script the CREATE of all the tables, views, stored procs, and data within the tables.
If you absolutely cannot use/install SSMS on your SQL Server Express destination machine, consider spinning up a new development VM (VirtualBox, VMWare, etc), and install SSMS.
Upvotes: 2
Reputation: 3787
If
Then copy and paste the data in to MS SQL Express using MS SQl Management Studio
It's crude and extremely slow, but it works. You can use MS Excel as an intermediary as well if you need to clean up any data...
Now I need to go shower.
Upvotes: 2