using migarte_repo to establish version control

asked 2014-11-09 10:46:32 -0500

dubi gravatar image

updated 2014-11-10 04:44:38 -0500

under Juno running (for a new OS project) :

migrate_repo# *python manage.py version_control <url> <repository> * , we get the following error:

...

File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 187, in __init__ super(Connection, self).__init__(args, *kwargs2)

sqlalchemy.exc.OperationalError: (OperationalError) (1045, "Access denied for user 'dragon'@'127.0.0.1' (using password: YES)") None None

The URL in our case (also appear as sql_connection in ourproject .conf file) is :

mysql://dragon:dragon@127.0.0.1:3306/dragon?charset=utf8

Note that we can login to mysql manually using user =dragon and passwod =dragon like this: mysql --user=dragon --password=dragon

So what is the reason for the above error and what is the meaning of 'None None' ?

The content of manage.py is :

#!/usr/bin/env python

from migrate.versioning.shell import main

if __name__ == '__main__':

   main(debug='False')
edit retag flag offensive close merge delete