Jose6604143
Posts: 0
Joined: Sun Jan 26, 2014 12:07 am

Importing from MySQL DB on Amazon - Why can't I maintain the existing primary key?????

I am trying to import my data from a MySQL database on Amazon into appery.io. The problem I am having is that when I import each table via csv format, appery is using it's own primary key instead of the one I have in my mysql database.

I have over 100 tables and 500k records. How will relationships be maintained?????

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Importing from MySQL DB on Amazon - Why can't I maintain the existing primary key?????

Hello,

Could you show us one of your DB table structure and some data fields.

Jose6604143
Posts: 0
Joined: Sun Jan 26, 2014 12:07 am

Importing from MySQL DB on Amazon - Why can't I maintain the existing primary key?????

Sure, how?

Do you want a sql dump? Would that help? CSV export of some of the tables? I'd rather not attach here.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Importing from MySQL DB on Amazon - Why can't I maintain the existing primary key?????

You can send CSV file example to a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Importing from MySQL DB on Amazon - Why can't I maintain the existing primary key?????

Got it. We'll check it, but it can take some time.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Importing from MySQL DB on Amazon - Why can't I maintain the existing primary key?????

Hi Jose,

[quote:]How will relationships be maintained2[/quote]There is no way, we use noSQL database.
[quote:]appery is using it's own primary key[/quote]Do you mean "_id"? Yes, this is how Appery.io works.

I'd recommend you not to import MySQL database to our noSQL backend. Working with it will be pretty difficult. You'd better use MySQL database on a third-party service.

Jose6604143
Posts: 0
Joined: Sun Jan 26, 2014 12:07 am

Importing from MySQL DB on Amazon - Why can't I maintain the existing primary key?????

Katya,

When you say third party service, do you mean I should continue using Amazon RDS and somehow connect my appery.io app to it?

How so?

Thanks,

Jose

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Importing from MySQL DB on Amazon - Why can't I maintain the existing primary key?????

Jose,

Amazon or any other. This service must support REST API.

Jose6604143
Posts: 0
Joined: Sun Jan 26, 2014 12:07 am

Importing from MySQL DB on Amazon - Why can't I maintain the existing primary key?????

Thanks Katya,

I noticed the tools for creating and managing databases are rather crude. You can basically create collections and corresponding documents and that's it.

Does appery.io have or plan to have some kind of model designer?

Take a look at Wakanda's model designer and you will get an idea of what I'm talking about.

http://www.wakanda.org/features?qt-wa... Image

Return to “Issues”