Skip to content

Instantly share code, notes, and snippets.

@jrm2k6
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrm2k6/430c08a0c53701914511 to your computer and use it in GitHub Desktop.
Save jrm2k6/430c08a0c53701914511 to your computer and use it in GitHub Desktop.
(env)jrm2k6 @ 08:10:07 : ~/Workspace/mozillians (master) $./manage.py test
nosetests --verbosity=1
Creating test database for alias 'default'...
Got an error creating the test database: (1044, "Access denied for user 'mozillians'@'localhost' to database 'test_mozillians'")
Type 'yes' if you would like to try deleting the test database 'test_mozillians', or 'no' to cancel: yes
Destroying old test database 'default'...
Got an error recreating the test database: (1044, "Access denied for user 'mozillians'@'localhost' to database 'test_mozillians'")
mysql> select user,host from mysql.user;
+------------------+-----------+
| user | host |
+------------------+-----------+
| root | 127.0.0.1 |
| root | ::1 |
| mozillians | jrm2k6 |
| root | lenny |
| debian-sys-maint | localhost |
| mozillians | localhost |
| root | localhost |
+------------------+-----------+
7 rows in set (0.00 sec)
ysql> show grants for 'mozillians'@'localhost';
+--------------------------------------------------------------------+
| Grants for mozillians@localhost |
+--------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'mozillians'@'localhost' |
| GRANT ALL PRIVILEGES ON `mozillians`.* TO 'mozillians'@'localhost' |
+--------------------------------------------------------------------+
2 rows in set (0.00 sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment