Can we import data into GoDaddy database?

With the new GoDaddy Plesk MSSQL database is there any way to import CSV data?
Sheldon LivingstonConsultantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David FavorLinux/LXD/WordPress/Hosting SavantCommented:
https://stackoverflow.com/questions/3635166/how-to-import-csv-file-to-mysql-table provides a good overview of how to do this.

You can use phpMyAdmin or ssh + mysql.
0
Sheldon LivingstonConsultantAuthor Commented:
David... I need to import data into a Microsoft database... not MySQL.
0
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
I have a Windows server with piesk and I always use manager studio or an import script server side.  There is a db import with piesk I think it is for restoring. I will log in tomorrow and double check.
0
Sheldon LivingstonConsultantAuthor Commented:
Thank you Scott...
0
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Using plesk, there does not appear to be a way to import a csv file.

Your choices are to import/export a dump file or restore a back up.  There is another feature as part of the db that allows you to use mylittleadmin. I have not looked at that in a long time and after reviewing again, remember why. It has very basic features.

Godaddy has instructions for using Manager Studio https://www.godaddy.com/help/connect-remotely-to-databases-4978. The only issue is it shows you have to elect remote access at the time you set it up and you can not connect via ssl. This does not seem like a very good option to me.  

Based on the Godaddy docs, I think you will be better off uploading the csv file to the server and import it.  Using sql server you can use bulk insert https://docs.microsoft.com/en-us/sql/t-sql/statements/bulk-insert-transact-sql?view=sql-server-2017 or https://blog.sqlauthority.com/2008/02/06/sql-server-import-csv-file-into-sql-server-using-bulk-insert-load-comma-delimited-file-into-sql-server/.  You can also read the csv file from your server side code, (asp, php) and insert line by line or in bulk too.

If you are just getting started, I would look into a different hosting plan that will allow you to use manager studio more securely. 10 years ago I used to use newtek for shared hosting https://www.newtekwebhosting.com/asp-net-web-hosting/.  I don't know if they still do it, but they used to scope external access to the database by IP if you asked. Not something you could do on your own, it was a support ticket/phone call.  Then you can keep your db set to localhost for your code and allow only a specific small set of IP's for remote access and via https.

For more control, then look into a VPS or dedicated.  I have been at https://www.liquidweb.com/ for the last 10 years.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Sheldon LivingstonConsultantAuthor Commented:
Thank you Scott...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Plesk

From novice to tech pro — start learning today.