Comments (15)
Not sure I remember the syntax of the top of my head, but it appears to me
that toy are trying to connect to a db named 'postgres' with user named
'nfldb'.
In the wiki my example showed
'psql.exe -U nfldb nfldb < c:\Users\Ben\Down...' which was connecting to db
'nfldb' with user 'nfldb'.
psql.exe -U
On Jul 31, 2014 9:30 PM, "DFSReport" [email protected] wrote:
I have been using the python version of nfldb for some time now. I am
trying to install nfldb postgresql database on windows and have gotten to
step 10 of the windows installation instructions. I had previously done the
instructions under a new nfldb user but when i created that user in my
command prompt all roles were set to No so I was not able to create
databases or anything and was getting an access is denied message when
running step 10 of the installation for windows. I went through the entire
installation steps again but built the database under super user postgres.
When I get to step 10 to import the nfldb.sql file into postgresql database
I get the same access is denied message. I am under the superuser role so
unsure why I would be getting this message again? Any help would be greatly
appreciated.[image: image]
https://cloud.githubusercontent.com/assets/7415081/3774169/c26c86f0-1923-11e4-97a4-16f33b0e680d.png—
Reply to this email directly or view it on GitHub
#37.
from nfldb.
I gotta quit commenting before getting a chance to review what has been said. Scratch what I said. I'm going to install on a fresh system tonight to see if I can reproduce.
from nfldb.
Thank you. I appreciate it. I will try doing the same on a different system
that has windows 8.
On Thu, Jul 31, 2014 at 9:45 PM, ochawkeye [email protected] wrote:
I gotta quit commenting before getting a chance to review what has been
said. Scratch what I said. I'm going to install on a fresh system tonight
to see if I can reproduce.—
Reply to this email directly or view it on GitHub
#37 (comment).
from nfldb.
Are you able to log in to the nfldb
database with any user?
Here are my current users and roles:
from nfldb.
Yes I only have one role but I am able to log in as postgres
[image: Inline image 1]
On Thu, Jul 31, 2014 at 10:01 PM, ochawkeye [email protected]
wrote:
Are you able to log in to the nfldb database with any user?
Here are my current users and roles:
[image: image]
https://cloud.githubusercontent.com/assets/2996205/3774314/fe8dee40-1927-11e4-834a-2607c29760d5.png—
Reply to this email directly or view it on GitHub
#37 (comment).
from nfldb.
Just completed installing on a fresh system. Here is every step in all its glory:
PostgreSQL install (Windows)
from nfldb.
This is great Thank you! I will run through these steps and update if I run
into any issues.
On Thu, Jul 31, 2014 at 11:15 PM, ochawkeye [email protected]
wrote:
Just completed installing on a fresh system. Here is every step in all its
glory:
PostgreSQL install (Windows)
https://github.com/BurntSushi/nfldb/wiki/Detailed-Windows-PostgreSQL-installation—
Reply to this email directly or view it on GitHub
#37 (comment).
from nfldb.
So I tried your new steps on a new system that runs windows 8.1. I did get to the same step to import the downloaded data into my created database. I did get the same Access is Denied. Message. Am I missing something when setting up the nfldb role that allows me to set the role privileges? I thought I was running everything as an administrator but maybe I am missing something with that as well? I will continue to play around with it.
from nfldb.
Were all steps up until that import step 21 successful? Specifically, were you able to complete step 18? psql.exe -U nfldb nfldb
Just spit-balling, but is it possible the Access is denied
message not actually because user nfldb
does not have proper privileges but instead because the Windows user is not allowed to access the location of the file nfldb.sql
?
from nfldb.
AHHH! I just repeated your problem. You're not importing the unzipped nfldb.sql
file. You're trying to import the folder that you unzipped!
D:\Program Files (x86)\PostgreSQL\9.3\bin>psql.exe -U nfldb2-test nfldb-2nd-try
< d:\Downloads\nfldb.sql
Access is denied.
D:\Program Files (x86)\PostgreSQL\9.3\bin>psql.exe -U nfldb2-test nfldb-2nd-try
< d:\Downloads\nfldb.sql\nfldb.sql
Password for user nfldb2-test: xxxxxx
SET
SET
SET
SET
SET
SET
SET
SET
CREATE DOMAIN
CREATE TYPE
CREATE DOMAIN
CREATE TYPE
CREATE TYPE
Use the second one!
from nfldb.
Oh wow I feel like a moron. I knew it had to be something small that I was
overlooking. I will try this as soon as I get home but I am definitely
thinking this was the issue. I do appreciate your help! Both you and
burntsushi are awesome for putting this together.
On Fri, Aug 1, 2014 at 9:39 AM, ochawkeye [email protected] wrote:
AHHH! I just repeated your problem. You're not importing the unzipped
nfldb.sql file. You're trying to import the folder that you unzipped!D:\Program Files (x86)\PostgreSQL\9.3\bin>psql.exe -U nfldb2-test nfldb-2nd-try
< d:\Downloads\nfldb.sql
Access is denied.D:\Program Files (x86)\PostgreSQL\9.3\bin>psql.exe -U nfldb2-test nfldb-2nd-try
< d:\Downloads\nfldb.sql\nfldb.sqlUse the second one!
—
Reply to this email directly or view it on GitHub
#37 (comment).
from nfldb.
All credit goes to @BurntSushi. Hell, I don't even know how to hardly use the thing! I'm still stuck in my old nflgame
ways, though I vow to convert over to nfldb
before week 1.
from nfldb.
@ochawkeye Don't sell yourself short. You're single handedly responsible for getting the Windows users up and running. :D (Which is, what, like 90% of the user base?)
(Let me know if you want help converting to nfldb
.)
from nfldb.
I did get it working. I appreciate all of your help. I am excited to find some time to play around with it in the next few weeks. Thanks for both of your hard work on this.
from nfldb.
@DFSReport 👍
from nfldb.
Related Issues (20)
- Any active users here? HOT 36
- nfldb-update: command not found HOT 4
- New Season HOT 2
- pip freeze
- Has the NFL ever complained about this project? HOT 2
- pip error
- Game gsis_id = 2017111911 missing in schedule.json (Ochawkeye issue #298)
- Not able to install in Windows HOT 2
- pip installation error HOT 1
- ConfigParser with-update HOT 1
- GSIS ID 2019090808 (CIN @ SEA) stored incomplete JSON to database, unable to replace HOT 4
- Bulk Upload 2017-2019 nfldb-update HOT 4
- Installed and ran nfldb-update. Data Missing for 2017 and 2018 HOT 2
- Expected Points & Win Probability HOT 1
- KeyError Gsis_id = 2019122202
- NFL Update HOT 1
- Anyone have a .sql export with 2019? HOT 1
- XML feeds removed from NFL website? HOT 4
- NFL db update on Anaconda help HOT 1
- Odoo v14 error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nfldb.