Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Create a collection with existing data #7

Open
cudanor opened this issue Nov 29, 2016 · 1 comment
Open

Create a collection with existing data #7

cudanor opened this issue Nov 29, 2016 · 1 comment
Assignees
Labels

Comments

@cudanor
Copy link

cudanor commented Nov 29, 2016

From this example given below, is it possible to export a database table on a local machine without a public IP into a collection in gLibrary?

curl -X POST \
  -H "Authorization: $TOKEN" \
  -H "Content-type: application/json" \
  -d '{
        "name": "products",
        "import": "true",
        "tablename": "products",
        "collection_db": {
            "host": "giular.trigrid.it",
            "type": "mysql",
            "database": "classicmodels",
            "username": "glibrary_server",
            "password": "Pippo1234",
            "port": 3306
        }
     }' \
  https://glibrary.ct.infn.it:3500/v2/repos/demo2016/
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants