Closed uptownhr closed 10 years ago
I don't know much about MySQL drivers (I'm more of a PostgreSQL guy) but try installing the libraries for MySQL (I think it was python-mysql in Ubuntu?). You can also try using the pure Python driver if you use mysql+pymysql:// as the driver url.
On CentOS and OSX it was pip install mysql-python
. You may need to apt-get libmysqlclient-dev
first as well (I'm not sure about this though).
i has the same problem, but fixed with install mysql library for python:
$ pip install pymysql
$ stellar init
--> mysql+pymysql://zend@localhost/
Closing because I added a better error message for this in https://github.com/fastmonkeys/stellar/commit/c9bfba235dc0775b9cae89ea54b2b3125e6e5534 .