Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Issue with MIMIC III Windows install #45

Closed
amanthind105 opened this issue Jun 7, 2016 · 4 comments
Closed

Issue with MIMIC III Windows install #45

amanthind105 opened this issue Jun 7, 2016 · 4 comments

Comments

@amanthind105
Copy link

I've been trying to follow the method presented here. https://mimic.physionet.org/tutorials/install-mimic-locally-windows/. When I try to create tables with the command \i postgres_create_tables.sql, it gives me a syntax error. Screenshot attached. Please guide regarding the same. Thanks!

test

@tompollard
Copy link
Member

tompollard commented Jun 7, 2016

Have you looked at the contents of your postgres_create_tables.sql file? It sounds as if you've replaced the SQL content with HTML.

@alistairewj
Copy link
Member

Yes, this will happen if you right click and save the file on the github
website, rather than clicking on the file, then clicking "raw".
On 7 Jun 2016 03:51, "Tom Pollard" notifications@github.com wrote:

Have you looked at the contents of your postgres_create_tables.sql file?
It looks like you've somehow replaced the SQL content with HTML.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#45 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ABOSdD4MFq1HM7RpKSda1LXilI5L4EM5ks5qJNyWgaJpZM4Ivf7d
.

@tompollard
Copy link
Member

@amanthind105, please try again using a fresh copy of postgres_create_tables.sql from the MIMIC Code Repository:

https://raw.githubusercontent.com/MIT-LCP/mimic-code/master/buildmimic/postgres/postgres_create_tables.sql

I'll close this issue for now, but please reopen it if you still have problems.

@amanthind105
Copy link
Author

I meant to thank you guys earlier. That's exactly what was wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants