Thanks for sharing.

We have not been testing Project Clearwater on Ubuntu 16.04, so I'm pleased to 
hear that you are making progress. Please let us know about issues you hit - it 
would be great to add full support for 16.04, and any help we can get is 
appreciated.

Yours,

Chris

-----Original Message-----
From: Clearwater [mailto:[email protected]] On 
Behalf Of Andrew Okri
Sent: 18 July 2016 12:20
To: [email protected]
Subject: Re: [Project Clearwater] Ellis Mysql connection error

I found the fix for this problem and l like to share for anyone facing this 
problem. If you are confronted with this problem, chances are you are 
installing ellis on Ubuntu 16.04 which has a newer python libraries for mysql.  
To fit the problem try the following:-

(1) sudo apt-get install libmysqlclient-dev python-mysqldb  and restart mysql 
and ellis

(2) if the above do not fix it for you, then download the file 
libmysqlclient.so.18 from the ubuntu launchpad and install it with apt

Before you try the above, ensure that you ellis install config are back to the 
state it was after you originally installed it. When you have it working, then 
you can tweak to your hearts content. good tweaking y’all.

Regards
Andrew

> On 17 Jul 2016, at 22:18, Andrew Okri <[email protected]> wrote:
> 
> Hello there,
>       After running the create_numbers.py script using the python in the 
> ellis home directory, l got the following error. I am not sure what to make 
> of it. Hence l am hoping l could get some help for the forum:- Traceback 
> (most recent call last):
>  File "./create_numbers.py", line 101, in <module>
>    standalone(options.start, options.num, options.pstn, options.realm)  
> File "./create_numbers.py", line 50, in standalone
>    connection.init_connection()
>  File 
> "/usr/share/clearwater/ellis/env/lib/python2.7/site-packages/ellis-0.1-py2.7.egg/metaswitch/ellis/data/connection.py",
>  line 60, in init_connection
>    pool_recycle=3600)
>  File 
> "/usr/share/clearwater/ellis/env/local/lib/python2.7/site-packages/SQLAlchemy-1.0.9-py2.7-linux-x86_64.egg/sqlalchemy/engine/__init__.py",
>  line 386, in create_engine
>    return strategy.create(*args, **kwargs)  File 
> "/usr/share/clearwater/ellis/env/local/lib/python2.7/site-packages/SQLAlchemy-1.0.9-py2.7-linux-x86_64.egg/sqlalchemy/engine/strategies.py",
>  line 75, in create
>    dbapi = dialect_cls.dbapi(**dbapi_args)  File 
> "/usr/share/clearwater/ellis/env/local/lib/python2.7/site-packages/SQLAlchemy-1.0.9-py2.7-linux-x86_64.egg/sqlalchemy/dialects/mysql/mysqldb.py",
>  line 92, in dbapi
>    return __import__('MySQLdb')
>  File 
> "/usr/share/clearwater/ellis/env/local/lib/python2.7/site-packages/MySQL_python-1.2.5-py2.7-linux-x86_64.egg/MySQLdb/__init__.py",
>  line 19, in <module>
>    import _mysql
> ImportError: libmysqlclient.so.18: cannot open shared object file: No 
> such file or directory Regards Andrew
> 
> 
> 
> 
> _______________________________________________
> Clearwater mailing list
> [email protected]
> http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.p
> rojectclearwater.org


_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

Reply via email to