Closed epicserve closed 9 years ago
sqlalchemy.exc.OperationalError: (OperationalError) (1044, u"Access denied for user 'my_db_username'@'localhost' to database 'stellar_data'") "CREATE DATABASE stellar_data CHARACTER SET = 'utf8'" ()
Are you sure your user has the right privileges to create a new databse? Something like
GRANT CREATE ON stellar_data TO 'my_db_username'@'localhost';
should help.
I gave the user all global privilages and now I'm getting.
sqlalchemy.exc.ProgrammingError: (ProgrammingError) (1146, u"Table 'stellar_data.snapshot' doesn't exist") 'SELECT count(*) AS count_1 \nFROM (SELECT snapshot.id AS snapshot_id, snapshot.snapshot_name AS snapshot_snapshot_name, snapshot.project_name AS snapshot_project_name, snapshot.hash AS snapshot_hash, snapshot.created_at AS snapshot_created_at, snapshot.worker_pid AS snapshot_worker_pid \nFROM snapshot \nWHERE snapshot.snapshot_name = %s AND snapshot.project_name = %s) AS anon_1' ('snap1', 'my_db_name')
You may want to drop stellar_data
and re initialize.
That worked. It might be helpful to include what permissions are needed to the readme. Also it might help to know how to add password. I had to do some Google to find the syntax.
This was added to the README.
I've anonymized settings bellow.
Here is my
stellar.yaml
file.Here is my command line session.